Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01013/0.01013, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.874/2.874, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003955, allocations: 14.22 kB / 0.9027 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3639, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.0007848/0.3647, allocations: 314.9 kB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000683/0.3654, allocations: 307.1 kB / 1.059 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.286e-05/0.3654, allocations: 0 / 1.059 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.305e-05/0.3654, allocations: 3.938 kB / 1.059 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-06/0.3654, allocations: 0 / 1.059 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.3658, allocations: 75.8 kB / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.132e-05/0.3659, allocations: 0 / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.3659, allocations: 0 / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.3659, allocations: 0 / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.296e-05/0.366, allocations: 4 kB / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.212e-06/0.366, allocations: 0 / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.3662, allocations: 135.7 kB / 1.059 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.3663, allocations: 4 kB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.3663, allocations: 25.7 kB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.3664, allocations: 71.83 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3665, allocations: 0 / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3665, allocations: 0 / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.3665, allocations: 0 / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000274/0.3667, allocations: 323.5 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3668, allocations: 19.91 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.3668, allocations: 0.9375 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.329e-05/0.3669, allocations: 168.4 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3669, allocations: 384 / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.3669, allocations: 384 / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.641e-05/0.367, allocations: 26.27 kB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.367, allocations: 192 / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3671, allocations: 7.938 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3671, allocations: 4 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.3671, allocations: 3.938 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.3672, allocations: 153.6 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.084e-05/0.3673, allocations: 18.61 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.3673, allocations: 4.859 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007493/0.368, allocations: 465.5 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.3681, allocations: 34.55 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3681, allocations: 0 / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001223/0.3682, allocations: 41.58 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.3683, allocations: 51.41 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.867e-05/0.3683, allocations: 89.86 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.3683, allocations: 25.7 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.516e-05/0.3683, allocations: 84.27 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.3684, allocations: 4 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/0.3684, allocations: 9.719 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.3685, allocations: 310.8 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-06/0.3685, allocations: 0 / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-06/0.3685, allocations: 0 / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/0.3686, allocations: 16.84 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3686, allocations: 0 / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.702e-05/0.3686, allocations: 37.7 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3686, allocations: 8 kB / 1.061 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3686, allocations: 0 / 1.061 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3687, allocations: 3.938 kB / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.664e-05/0.3687, allocations: 0 / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3687, allocations: 0 / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-06/0.3687, allocations: 4 kB / 1.061 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3687, allocations: 4 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.251e-05/0.3688, allocations: 113.8 kB / 1.061 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-06/0.3688, allocations: 4.031 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.06e-05/0.3689, allocations: 40.77 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3689, allocations: 0 / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3689, allocations: 11.92 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3689, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.82e-05/0.369, allocations: 145.7 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.369, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.031e-05/0.369, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3691, allocations: 4 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3691, allocations: 3.938 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3691, allocations: 4.031 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3691, allocations: 0 / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.921e-05/0.3691, allocations: 57.12 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.3692, allocations: 77.11 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.3692, allocations: 11.88 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-06/0.3692, allocations: 0 / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.3692, allocations: 0 / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.3692, allocations: 4.031 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.748e-05/0.3693, allocations: 75.28 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3693, allocations: 0 / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002117/0.3695, allocations: 27.98 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002473/0.3697, allocations: 143.2 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.704e-05/0.3698, allocations: 4 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3698, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.325e-06/0.3698, allocations: 8 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.3699, allocations: 1.719 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001603/0.3701, allocations: 78.61 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3703, allocations: 0.6731 MB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.457e-06/0.3704, allocations: 8.125 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-06/0.3704, allocations: 7.438 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/0.3704, allocations: 0 / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of Templates: time 0.002647/0.373, allocations: 0.6135 MB / 1.063 GB, free: 15.6 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches