Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_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.0009921/0.0009921, allocations: 99.34 kB / 16.02 MB, free: 72 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.00141/0.00141, allocations: 179.6 kB / 16.92 MB, free: 6.918 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004001, allocations: 16 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.6773, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001316/0.6787, allocations: 1.161 MB / 0.9568 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006368/0.6794, allocations: 366.3 kB / 0.9572 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.07e-05/0.6794, allocations: 4 kB / 0.9572 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.6794, allocations: 3.938 kB / 0.9572 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.022e-05/0.6795, allocations: 5.094 kB / 0.9572 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.6798, allocations: 81.97 kB / 0.9573 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.554e-05/0.6798, allocations: 24.67 kB / 0.9573 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/0.6799, allocations: 3.562 kB / 0.9573 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.253e-05/0.68, allocations: 3 kB / 0.9573 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.652e-05/0.68, allocations: 14.83 kB / 0.9573 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.68, allocations: 1.5 kB / 0.9573 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.6803, allocations: 142.3 kB / 0.9575 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.816e-06/0.6803, allocations: 1.344 kB / 0.9575 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.6803, allocations: 34.69 kB / 0.9575 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.6804, allocations: 56.03 kB / 0.9575 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6804, allocations: 0.9688 kB / 0.9575 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6804, allocations: 0 / 0.9575 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.6805, allocations: 0 / 0.9575 GB, free: 6.312 MB / 0.7169 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.0003532/0.6808, allocations: 356.1 kB / 0.9579 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.6809, allocations: 13.08 kB / 0.9579 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.6809, allocations: 9.844 kB / 0.9579 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.846e-05/0.681, allocations: 162.5 kB / 0.9581 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.681, allocations: 384 / 0.9581 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.681, allocations: 5.484 kB / 0.9581 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.6812, allocations: 59.55 kB / 0.9581 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.6812, allocations: 192 / 0.9581 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.6812, allocations: 7.938 kB / 0.9581 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.6812, allocations: 4.969 kB / 0.9581 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.6814, allocations: 43.64 kB / 0.9582 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.6816, allocations: 260.7 kB / 0.9584 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.6818, allocations: 44.53 kB / 0.9585 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.735e-05/0.6819, allocations: 35.86 kB / 0.9585 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/0.6824, allocations: 465.5 kB / 0.9589 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.6825, allocations: 34.56 kB / 0.959 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.6825, allocations: 1.469 kB / 0.959 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003587/0.6828, allocations: 102.3 kB / 0.9591 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.6829, allocations: 53.22 kB / 0.9591 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.894e-05/0.6829, allocations: 101.5 kB / 0.9592 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.6829, allocations: 31.42 kB / 0.9593 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.683, allocations: 80.14 kB / 0.9593 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.683, allocations: 5.781 kB / 0.9593 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.683, allocations: 13.72 kB / 0.9593 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.6831, allocations: 312.6 kB / 0.9596 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.6832, allocations: 20.58 kB / 0.9597 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.6832, allocations: 26.28 kB / 0.9597 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.6834, allocations: 49.95 kB / 0.9597 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6834, allocations: 0 / 0.9597 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001895/0.6836, allocations: 82.34 kB / 0.9598 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6836, allocations: 9.531 kB / 0.9598 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.6836, allocations: 0 / 0.9598 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.6836, allocations: 0 / 0.9598 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.6837, allocations: 13.58 kB / 0.9598 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.6837, allocations: 0 / 0.9598 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.6838, allocations: 5.281 kB / 0.9598 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.6838, allocations: 1.344 kB / 0.9598 GB, free: 3.973 MB / 0.7169 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 4.717e-05/0.6839, allocations: 123.1 kB / 0.96 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.6839, allocations: 1.312 kB / 0.96 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.6841, allocations: 84.88 kB / 0.96 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.6841, allocations: 0 / 0.96 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6841, allocations: 5.531 kB / 0.9601 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.6841, allocations: 0 / 0.9601 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.6843, allocations: 162.1 kB / 0.9602 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6843, allocations: 0 / 0.9602 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.6843, allocations: 15.83 kB / 0.9602 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6844, allocations: 1.438 kB / 0.9602 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.6844, allocations: 0 / 0.9602 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6844, allocations: 0 / 0.9602 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6844, allocations: 1.406 kB / 0.9602 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.6846, allocations: 172.2 kB / 0.9604 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.6846, allocations: 78.33 kB / 0.9605 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.6846, allocations: 7.984 kB / 0.9605 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.6847, allocations: 11.09 kB / 0.9605 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.6848, allocations: 5.328 kB / 0.9605 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.6848, allocations: 7.938 kB / 0.9605 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.11e-05/0.6848, allocations: 83.67 kB / 0.9606 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6848, allocations: 0 / 0.9606 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002706/0.6851, allocations: 26.91 kB / 0.9606 GB, free: 3.219 MB / 0.7169 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.0002362/0.6853, allocations: 136.3 kB / 0.9607 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.6855, allocations: 50.67 kB / 0.9608 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6856, allocations: 1.156 kB / 0.9608 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-05/0.6857, allocations: 23.55 kB / 0.9608 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.6859, allocations: 10.62 kB / 0.9608 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.6862, allocations: 140.6 kB / 0.9609 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.6863, allocations: 0.6773 MB / 0.9616 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.6863, allocations: 8.438 kB / 0.9616 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6863, allocations: 0 / 0.9616 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of Templates: time 0.00283/0.6892, allocations: 0.9721 MB / 0.9626 GB, free: 1.75 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches