Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008251/0.0008253, allocations: 99.34 kB / 16.02 MB, free: 76 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.0009729/0.000973, allocations: 183.6 kB / 16.92 MB, free: 6.895 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.763/2.763, allocations: 462.6 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 16.62 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3532, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.00183/0.3551, allocations: 1.156 MB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008661/0.356, allocations: 382.9 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.356, allocations: 0 / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.858e-05/0.3561, allocations: 3.938 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.3561, allocations: 0 / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.3566, allocations: 83.78 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.097e-05/0.3567, allocations: 16 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.683e-05/0.3568, allocations: 7.984 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.3568, allocations: 3.938 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.3569, allocations: 11.98 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.3569, allocations: 4 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.3572, allocations: 147.7 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.3572, allocations: 3.938 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.3573, allocations: 37.69 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.3574, allocations: 51.91 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3574, allocations: 0 / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3574, allocations: 3.938 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.3575, allocations: 0 / 1.061 GB, free: 3.07 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005129/0.358, allocations: 359.7 kB / 1.062 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.358, allocations: 11.97 kB / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.3581, allocations: 0.9375 kB / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3582, allocations: 176.3 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3582, allocations: 384 / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3582, allocations: 384 / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.3584, allocations: 62.22 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3585, allocations: 192 / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3585, allocations: 3.938 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3585, allocations: 4 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.3587, allocations: 43.91 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.359, allocations: 249 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3592, allocations: 42.5 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.765e-05/0.3593, allocations: 36.91 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007907/0.3601, allocations: 473.4 kB / 1.063 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3601, allocations: 38.56 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3601, allocations: 3.938 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003873/0.3605, allocations: 93.73 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.3606, allocations: 55.41 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.3607, allocations: 97.86 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.3607, allocations: 25.7 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.3607, allocations: 84.08 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.3608, allocations: 11.89 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.3608, allocations: 13.72 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3609, allocations: 310.8 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.361, allocations: 24.02 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.893e-05/0.3611, allocations: 19.98 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.3613, allocations: 56.81 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3613, allocations: 0 / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002097/0.3615, allocations: 81.59 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3615, allocations: 4 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3615, allocations: 4 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3615, allocations: 3.938 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.3616, allocations: 12 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3616, allocations: 0 / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.3617, allocations: 7.984 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3617, allocations: 4 kB / 1.063 GB, free: 396 kB / 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 (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 7.023e-05/0.3618, allocations: 113.8 kB / 1.064 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.3618, allocations: 3.906 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.3621, allocations: 88.7 kB / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3621, allocations: 32 / 1.064 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3621, allocations: 8 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3621, allocations: 0 / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.3623, allocations: 157.7 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3623, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.3624, allocations: 11.98 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3624, allocations: 0 / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.3624, allocations: 0 / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3624, allocations: 0 / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3624, allocations: 0 / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.3627, allocations: 183.4 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.3627, allocations: 81.05 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.3627, allocations: 0 / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.3628, allocations: 16.02 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3628, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.3629, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.3629, allocations: 83.45 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3629, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002651/0.3632, allocations: 32 kB / 1.064 GB, free: 15.52 MB / 0.8262 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.0002681/0.3634, allocations: 139.3 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.3637, allocations: 51.95 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3637, allocations: 0 / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.585e-05/0.3638, allocations: 23.92 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.364, allocations: 18.41 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.3643, allocations: 142.4 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.3646, allocations: 0.6731 MB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.3646, allocations: 15.42 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.3646, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of Templates: time 0.002799/0.3674, allocations: 0.9784 MB / 1.066 GB, free: 13.43 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches