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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001151/0.001151, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0018/0.0018, allocations: 194.2 kB / 16.14 MB, free: 6.645 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8546/0.8561, allocations: 140.4 MB / 0.9489 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.004326/0.8605, allocations: 1.489 MB / 0.9504 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.8616, allocations: 375.7 kB / 0.9507 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.8617, allocations: 1.062 kB / 0.9507 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.416e-05/0.8618, allocations: 0 / 0.9507 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.922e-05/0.8618, allocations: 9.094 kB / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000764/0.8626, allocations: 86.66 kB / 0.9508 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.8627, allocations: 16.09 kB / 0.9508 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.8629, allocations: 6.953 kB / 0.9508 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.863, allocations: 11.14 kB / 0.9509 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.863, allocations: 11.08 kB / 0.9509 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.863, allocations: 1.344 kB / 0.9509 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.8635, allocations: 139.4 kB / 0.951 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.342e-05/0.8635, allocations: 13.16 kB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.8635, allocations: 9.234 kB / 0.951 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.8639, allocations: 90.06 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.8639, allocations: 0 / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8639, allocations: 0 / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.8639, allocations: 1.188 kB / 0.9511 GB, free: 7.457 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.0007367/0.8646, allocations: 356.2 kB / 0.9515 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.264e-05/0.8647, allocations: 9.062 kB / 0.9515 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.8648, allocations: 2.031 kB / 0.9515 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.865, allocations: 173.3 kB / 0.9516 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.865, allocations: 5.719 kB / 0.9516 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.865, allocations: 1.656 kB / 0.9516 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.8653, allocations: 49.05 kB / 0.9517 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.8653, allocations: 1.438 kB / 0.9517 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.8653, allocations: 3.938 kB / 0.9517 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.8653, allocations: 0 / 0.9517 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.8655, allocations: 35.08 kB / 0.9517 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.866, allocations: 253.3 kB / 0.952 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.8661, allocations: 45.98 kB / 0.952 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.502e-05/0.8662, allocations: 18.53 kB / 0.952 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009802/0.8672, allocations: 472 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.8673, allocations: 32.22 kB / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.644e-06/0.8673, allocations: 0 / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004656/0.8678, allocations: 85.23 kB / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.8678, allocations: 55.34 kB / 0.9526 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.8679, allocations: 102.2 kB / 0.9527 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.868, allocations: 27.42 kB / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.868, allocations: 80.14 kB / 0.9528 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.8681, allocations: 5.188 kB / 0.9528 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.8681, allocations: 20.09 kB / 0.9529 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.8683, allocations: 316.1 kB / 0.9532 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.755e-05/0.8683, allocations: 20.27 kB / 0.9532 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/0.8684, allocations: 14.02 kB / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.8686, allocations: 35.33 kB / 0.9532 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8686, allocations: 4 kB / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002315/0.8688, allocations: 72.78 kB / 0.9533 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.8689, allocations: 5.438 kB / 0.9533 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.8689, allocations: 0 / 0.9533 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.8689, allocations: 0 / 0.9533 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.869, allocations: 10.58 kB / 0.9533 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.8691, allocations: 0 / 0.9533 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.8691, allocations: 12.3 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.8691, allocations: 7.938 kB / 0.9533 GB, free: 5.121 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 0.0001051/0.8693, allocations: 111.6 kB / 0.9534 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.8693, allocations: 6.062 kB / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.8696, allocations: 74.22 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8696, allocations: 192 / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.8696, allocations: 1.281 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.8696, allocations: 8.016 kB / 0.9535 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.8698, allocations: 166.4 kB / 0.9537 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.8698, allocations: 0 / 0.9537 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.8699, allocations: 6.344 kB / 0.9537 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.8699, allocations: 3.984 kB / 0.9537 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.8699, allocations: 1.312 kB / 0.9537 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8699, allocations: 0 / 0.9537 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8699, allocations: 0 / 0.9537 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.8702, allocations: 162.9 kB / 0.9539 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.729e-05/0.8702, allocations: 82.55 kB / 0.9539 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.8703, allocations: 1.094 kB / 0.9539 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.8704, allocations: 3.062 kB / 0.9539 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.8704, allocations: 5.078 kB / 0.9539 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.8704, allocations: 1 kB / 0.9539 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.8705, allocations: 78.84 kB / 0.954 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8705, allocations: 4.031 kB / 0.954 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003737/0.8709, allocations: 32.92 kB / 0.9541 GB, free: 4.383 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.000396/0.8713, allocations: 138.7 kB / 0.9542 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.8715, allocations: 38.31 kB / 0.9542 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8716, allocations: 0 / 0.9542 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.8716, allocations: 19.06 kB / 0.9542 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.8719, allocations: 10.97 kB / 0.9543 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.8724, allocations: 110.1 kB / 0.9544 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.8726, allocations: 0.6733 MB / 0.955 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.869e-05/0.8726, allocations: 0 / 0.955 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.8727, allocations: 9.75 kB / 0.955 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of SimCode: time 1.262e-06/0.8727, allocations: 3.938 kB / 0.955 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of Templates: time 0.004332/0.877, allocations: 0.8423 MB / 0.9558 GB, free: 2.984 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches