Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_9_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.00109/0.00109, 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.001111/0.001111, allocations: 198 kB / 16.54 MB, free: 6.672 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.363/2.363, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001536, allocations: 63.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8012/0.8028, allocations: 140.4 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.004549/0.8074, allocations: 1.431 MB / 0.951 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008394/0.8083, allocations: 340.7 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.8083, allocations: 5.375 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.8084, allocations: 0 / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.774e-05/0.8085, allocations: 3.938 kB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.8091, allocations: 104.4 kB / 0.9514 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.8092, allocations: 22.08 kB / 0.9514 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.8093, allocations: 6.844 kB / 0.9514 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.8094, allocations: 7.266 kB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.8094, allocations: 14.8 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.8095, allocations: 6.469 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.8098, allocations: 121 kB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.8098, allocations: 1.594 kB / 0.9516 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.8098, allocations: 13.3 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.8101, allocations: 84.22 kB / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8101, allocations: 0 / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.288e-06/0.8101, allocations: 1.125 kB / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.8101, allocations: 0 / 0.9517 GB, free: 7.52 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.0005363/0.8107, allocations: 351.8 kB / 0.952 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.8107, allocations: 17.83 kB / 0.952 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.8108, allocations: 6.125 kB / 0.952 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.8109, allocations: 165.5 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.8109, allocations: 1.406 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.811, allocations: 1.906 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.8112, allocations: 48.92 kB / 0.9522 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.8112, allocations: 1.375 kB / 0.9522 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.8112, allocations: 3.938 kB / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.8112, allocations: 0 / 0.9522 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.8114, allocations: 39.23 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.8118, allocations: 252.6 kB / 0.9525 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.812, allocations: 38.53 kB / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.8121, allocations: 31.23 kB / 0.9526 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007837/0.8129, allocations: 455.3 kB / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.8129, allocations: 30.56 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.8129, allocations: 5 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004621/0.8134, allocations: 83.52 kB / 0.9531 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.8135, allocations: 56.97 kB / 0.9532 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.39e-05/0.8135, allocations: 98.06 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.8136, allocations: 26.92 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.8136, allocations: 85.48 kB / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.8136, allocations: 3.906 kB / 0.9534 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.8137, allocations: 16.41 kB / 0.9534 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.8138, allocations: 320 kB / 0.9537 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.933e-05/0.8139, allocations: 12.7 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.873e-05/0.814, allocations: 13.42 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.8142, allocations: 39.98 kB / 0.9538 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.8142, allocations: 7.984 kB / 0.9538 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002289/0.8144, allocations: 76.7 kB / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8144, allocations: 5.281 kB / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.8144, allocations: 0 / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.8145, allocations: 0 / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.8146, allocations: 10.2 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.8146, allocations: 1.406 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.8147, allocations: 11.95 kB / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.8147, allocations: 0 / 0.9539 GB, free: 5.188 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 6.081e-05/0.8147, allocations: 111.4 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.8148, allocations: 5.344 kB / 0.954 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.815, allocations: 74.28 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.815, allocations: 0 / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.8151, allocations: 1.312 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.8151, allocations: 4.031 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.8152, allocations: 161.6 kB / 0.9542 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8152, allocations: 1.125 kB / 0.9542 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.592e-05/0.8153, allocations: 10.14 kB / 0.9542 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8153, allocations: 0 / 0.9542 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.8153, allocations: 1.125 kB / 0.9542 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.8153, allocations: 0 / 0.9542 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8153, allocations: 0 / 0.9542 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.8156, allocations: 167.8 kB / 0.9544 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.8156, allocations: 77.11 kB / 0.9545 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.8156, allocations: 1.156 kB / 0.9545 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.736e-05/0.8157, allocations: 7.484 kB / 0.9545 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.8158, allocations: 5.156 kB / 0.9545 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.8158, allocations: 1.031 kB / 0.9545 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.86e-05/0.8159, allocations: 82.75 kB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8159, allocations: 4.031 kB / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003894/0.8163, allocations: 35.17 kB / 0.9546 GB, free: 4.445 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.0003/0.8166, allocations: 133.6 kB / 0.9547 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.8168, allocations: 37.19 kB / 0.9548 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8169, allocations: 0 / 0.9548 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.817, allocations: 23.53 kB / 0.9548 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.8173, allocations: 10.81 kB / 0.9548 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.8177, allocations: 115.1 kB / 0.9549 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.8178, allocations: 0.6775 MB / 0.9556 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.8178, allocations: 5.578 kB / 0.9556 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.8179, allocations: 9 kB / 0.9556 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8179, allocations: 0 / 0.9556 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.004452/0.8223, allocations: 0.8834 MB / 0.9564 GB, free: 3.027 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches