Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 175.6 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.3 MB / 0.5671 GB, free: 15.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009877/0.0009878, allocations: 92.33 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.447e-05/2.448e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2625, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9401/1.203, allocations: 132.3 MB / 1.014 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/1.203, allocations: 71.05 kB / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007357/1.21, allocations: 2.363 MB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.305e-06/1.21, allocations: 0 / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.215e-06/1.21, allocations: 0 / 1.017 GB, free: 3.406 MB / 0.6355 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.0004945/1.211, allocations: 378.1 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.211, allocations: 8.031 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/1.211, allocations: 0 / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/1.211, allocations: 167 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/1.211, allocations: 0.875 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/1.211, allocations: 0 / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.863e-05/1.211, allocations: 7.938 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.765e-05/1.211, allocations: 45.55 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/1.212, allocations: 4 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/1.212, allocations: 0 / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/1.212, allocations: 0 / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/1.212, allocations: 251.6 kB / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.94e-05/1.212, allocations: 22.61 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/1.212, allocations: 16.86 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006262/1.213, allocations: 445.2 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/1.213, allocations: 31.25 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/1.213, allocations: 4 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002141/1.213, allocations: 41.52 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/1.213, allocations: 51.41 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/1.213, allocations: 96.92 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/1.213, allocations: 29.7 kB / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/1.213, allocations: 80.14 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/1.213, allocations: 7.844 kB / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/1.213, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.213, allocations: 318.8 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/1.213, allocations: 7.938 kB / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.301e-05/1.213, allocations: 4 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/1.214, allocations: 3.812 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.214, allocations: 7.984 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.951e-05/1.214, allocations: 37.64 kB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.214, allocations: 4 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.214, allocations: 0 / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/1.214, allocations: 0 / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.746e-05/1.214, allocations: 20.08 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/1.214, allocations: 3.938 kB / 1.019 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.224e-05/1.214, allocations: 8 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/1.214, allocations: 11.86 kB / 1.019 GB, free: 1.094 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.214, allocations: 108.9 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/1.214, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/1.214, allocations: 53.2 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.214, allocations: 0 / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.214, allocations: 0 / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.214, allocations: 4 kB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/1.214, allocations: 133.8 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.214, allocations: 7.953 kB / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/1.214, allocations: 11.98 kB / 1.019 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/1.214, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/1.214, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/1.214, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.214, allocations: 4.031 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/1.215, allocations: 139.4 kB / 1.019 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/1.215, allocations: 81.06 kB / 1.019 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/1.215, allocations: 0 / 1.019 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/1.215, allocations: 11.98 kB / 1.019 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/1.215, allocations: 3.812 kB / 1.019 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/1.215, allocations: 4.031 kB / 1.019 GB, free: 480 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.027e-05/1.215, allocations: 79.47 kB / 1.019 GB, free: 400 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/1.215, allocations: 0 / 1.019 GB, free: 400 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002886/1.215, allocations: 43.92 kB / 1.02 GB, free: 356 kB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003346/1.215, allocations: 158.6 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.82e-05/1.216, allocations: 15.81 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.216, allocations: 0 / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.486e-05/1.216, allocations: 11.98 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/1.216, allocations: 128 / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002088/1.216, allocations: 59.83 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/1.216, allocations: 0.6806 MB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.821e-05/1.216, allocations: 4 kB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/1.216, allocations: 7.438 kB / 1.02 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.216, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of Templates: time 0.003146/1.22, allocations: 0.735 MB / 1.021 GB, free: 14.64 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_BesselY0.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches