Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002205/0.002205, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.536/1.536, allocations: 222.9 MB / 240.2 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.991/2.991, allocations: 482.6 MB / 0.7549 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002864/0.002864, allocations: 67.52 kB / 0.9241 GB, free: 29.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3471, allocations: 162.3 MB / 1.083 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003431/0.3505, allocations: 1.435 MB / 1.084 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008167/0.3514, allocations: 330.9 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.746e-05/0.3514, allocations: 4 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.3515, allocations: 7.938 kB / 1.084 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.3515, allocations: 0 / 1.084 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.352, allocations: 107.6 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.3521, allocations: 15.98 kB / 1.084 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.3522, allocations: 8 kB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.131e-05/0.3523, allocations: 7.938 kB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.3523, allocations: 11.98 kB / 1.084 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.3523, allocations: 0 / 1.084 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.3526, allocations: 127.8 kB / 1.085 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.3526, allocations: 11.98 kB / 1.085 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.3526, allocations: 7.938 kB / 1.085 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.3528, allocations: 87.8 kB / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3529, allocations: 0 / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3529, allocations: 4 kB / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.3529, allocations: 0 / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005398/0.3534, allocations: 347.7 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3535, allocations: 15.97 kB / 1.085 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.3535, allocations: 0.9375 kB / 1.085 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.3537, allocations: 168.4 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3537, allocations: 4.375 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.3537, allocations: 4.312 kB / 1.085 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.3539, allocations: 50.23 kB / 1.085 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3539, allocations: 192 / 1.085 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3539, allocations: 3.938 kB / 1.085 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.354, allocations: 0 / 1.085 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.3541, allocations: 35.97 kB / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.3546, allocations: 248.9 kB / 1.086 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.3547, allocations: 42.44 kB / 1.086 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.3548, allocations: 28.91 kB / 1.086 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008083/0.3556, allocations: 469.4 kB / 1.086 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3557, allocations: 34.56 kB / 1.086 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.3557, allocations: 0 / 1.086 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004024/0.3561, allocations: 81.64 kB / 1.086 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.3562, allocations: 51.41 kB / 1.086 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.3562, allocations: 105.8 kB / 1.086 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.3563, allocations: 25.7 kB / 1.086 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.3564, allocations: 80.14 kB / 1.086 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.3564, allocations: 11.91 kB / 1.086 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.3564, allocations: 9.719 kB / 1.086 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3566, allocations: 315 kB / 1.087 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.915e-05/0.3567, allocations: 23.97 kB / 1.087 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.159e-05/0.3568, allocations: 11.98 kB / 1.087 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.357, allocations: 36.83 kB / 1.087 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.357, allocations: 0 / 1.087 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002085/0.3572, allocations: 77.66 kB / 1.087 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3572, allocations: 4 kB / 1.087 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3572, allocations: 4.125 kB / 1.087 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3572, allocations: 0 / 1.087 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.475e-05/0.3573, allocations: 11.98 kB / 1.087 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3573, allocations: 0 / 1.087 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.3574, allocations: 11.97 kB / 1.087 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3574, allocations: 3.984 kB / 1.087 GB, free: 8.18 MB / 0.8419 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 (2): * Single equations (assignments): 2 * 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 8.77e-05/0.3575, allocations: 113.8 kB / 1.087 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.3575, allocations: 4 kB / 1.087 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.3578, allocations: 68.78 kB / 1.087 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3578, allocations: 0 / 1.087 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3578, allocations: 0 / 1.087 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.3578, allocations: 0 / 1.087 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.358, allocations: 169.5 kB / 1.087 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.358, allocations: 4 kB / 1.087 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.3581, allocations: 11.94 kB / 1.087 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3581, allocations: 0 / 1.087 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.3581, allocations: 0 / 1.087 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3581, allocations: 3.984 kB / 1.087 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3581, allocations: 0 / 1.087 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.3584, allocations: 167.4 kB / 1.087 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.3584, allocations: 89.03 kB / 1.087 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.3585, allocations: 0 / 1.087 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.3585, allocations: 4 kB / 1.087 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.3586, allocations: 7.984 kB / 1.087 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.3586, allocations: 0 / 1.087 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.57e-05/0.3587, allocations: 83.28 kB / 1.088 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3587, allocations: 0 / 1.088 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000278/0.3589, allocations: 28 kB / 1.088 GB, free: 7.344 MB / 0.8419 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 (2): * Single equations (assignments): 2 * 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.0002788/0.3592, allocations: 142.4 kB / 1.088 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002336/0.3595, allocations: 43.91 kB / 1.088 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3595, allocations: 0 / 1.088 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.136e-05/0.3596, allocations: 19.98 kB / 1.088 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.3598, allocations: 9.484 kB / 1.088 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.3601, allocations: 97.5 kB / 1.088 GB, free: 7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.3605, allocations: 0.6847 MB / 1.089 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.158e-05/0.3605, allocations: 3.906 kB / 1.089 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.3605, allocations: 7.438 kB / 1.089 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3605, allocations: 0 / 1.089 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of Templates: time 0.003685/0.3642, allocations: 0.8883 MB / 1.089 GB, free: 5.391 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches