Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009775/0.0009775, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 161.4 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9391/0.9391, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.841/1.841, allocations: 377.8 MB / 0.6236 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.779e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002213/0.002241, allocations: 1.489 MB / 0.813 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005478/0.002789, allocations: 337.7 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.002816, allocations: 0 / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.002846, allocations: 0 / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.00289, allocations: 5.219 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.003333, allocations: 99.64 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.736e-05/0.0034, allocations: 19.94 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.00349, allocations: 8.672 kB / 0.8135 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.00354, allocations: 15.92 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.615e-05/0.003576, allocations: 12.89 kB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.003588, allocations: 0 / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.003777, allocations: 120.3 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.003794, allocations: 7.984 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.003813, allocations: 6.094 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.003987, allocations: 99.72 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.00399, allocations: 0 / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003991, allocations: 0 / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.003997, allocations: 0 / 0.8137 GB, free: 15.55 MB / 0.7761 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.0003498/0.004346, allocations: 381.3 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.004383, allocations: 8.031 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.004428, allocations: 0.9375 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.004532, allocations: 117.5 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.004543, allocations: 4.375 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.004553, allocations: 5.094 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.004674, allocations: 46.95 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.004682, allocations: 4.906 kB / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.004691, allocations: 4.359 kB / 0.8143 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.004698, allocations: 1.625 kB / 0.8143 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.743e-05/0.004725, allocations: 7.938 kB / 0.8143 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.004993, allocations: 243.8 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.441e-05/0.005048, allocations: 35.56 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.005069, allocations: 13.06 kB / 0.8145 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/0.005404, allocations: 77.27 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.005425, allocations: 34.05 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/0.005427, allocations: 0.7188 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001529/0.00558, allocations: 49.52 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.005609, allocations: 56.94 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.005684, allocations: 157.9 kB / 0.8149 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.005695, allocations: 25.7 kB / 0.8149 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.005737, allocations: 130.9 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.005755, allocations: 9.484 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.005786, allocations: 19.38 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.005908, allocations: 492.1 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.594e-05/0.005924, allocations: 4 kB / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.005935, allocations: 1.75 kB / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.005969, allocations: 19.67 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.005971, allocations: 0 / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.041e-05/0.006031, allocations: 38.7 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.006047, allocations: 8 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.006053, allocations: 5.469 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.006065, allocations: 0 / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.006129, allocations: 7.984 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.006134, allocations: 3.938 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.006152, allocations: 8.531 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.006157, allocations: 0 / 0.8156 GB, free: 13.38 MB / 0.7761 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.584e-05/0.006223, allocations: 153.2 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.006237, allocations: 4.531 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.377e-05/0.006331, allocations: 49.72 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.006334, allocations: 0 / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.006339, allocations: 4.906 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.006342, allocations: 192 / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.006442, allocations: 117.5 kB / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.006444, allocations: 0 / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.006473, allocations: 11.98 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006476, allocations: 0.8438 kB / 0.816 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.006483, allocations: 4 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.006487, allocations: 5.281 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.00649, allocations: 3.984 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.00659, allocations: 179.9 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.006597, allocations: 4.594 kB / 0.8162 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.006607, allocations: 4.594 kB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.074e-05/0.006638, allocations: 7.922 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.006678, allocations: 5.844 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.006682, allocations: 0 / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.006722, allocations: 123.2 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006722, allocations: 0 / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001843/0.006906, allocations: 31.92 kB / 0.8163 GB, free: 12.62 MB / 0.7761 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.0002099/0.007116, allocations: 151.4 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.447e-05/0.007201, allocations: 11.69 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007202, allocations: 0 / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.145e-05/0.007224, allocations: 12.31 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.007402, allocations: 9.016 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.007663, allocations: 119.7 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.571e-05/0.007698, allocations: 55.22 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.81e-05/0.007716, allocations: 4.438 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.007742, allocations: 12.5 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of SimCode: time 1.223e-06/0.007743, allocations: 4.812 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of Templates: time 0.003069/0.01081, allocations: 1.022 MB / 0.8177 GB, free: 11.19 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselY0.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.00041124317795]