Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001255/0.001255, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001371/0.001371, allocations: 161 kB / 24.16 MB, free: 332 kB / 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.9415/0.9415, allocations: 177.1 MB / 204.6 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.909/1.909, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.726e-06/9.818e-06, allocations: 2.312 kB / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00153/0.00154, allocations: 1.376 MB / 0.7765 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1225/0.1241, allocations: 142.2 MB / 0.9154 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.1241, allocations: 4 kB / 0.9154 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.1241, allocations: 7.938 kB / 0.9154 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.1242, allocations: 3.984 kB / 0.9154 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.1245, allocations: 91.44 kB / 0.9155 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 6.684e-05/0.1246, allocations: 31.86 kB / 0.9155 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.1246, allocations: 8.484 kB / 0.9155 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.523e-05/0.1247, allocations: 19.97 kB / 0.9155 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.1247, allocations: 19.92 kB / 0.9155 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1247, allocations: 0 / 0.9155 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.1249, allocations: 83.75 kB / 0.9156 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.1249, allocations: 4 kB / 0.9156 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.125, allocations: 15.97 kB / 0.9156 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.1251, allocations: 75.69 kB / 0.9157 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1251, allocations: 0 / 0.9157 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1251, allocations: 0 / 0.9157 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1251, allocations: 0 / 0.9157 GB, free: 5.113 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000284/0.1254, allocations: 252.8 kB / 0.916 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1254, allocations: 9.344 kB / 0.916 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.1256, allocations: 32.81 kB / 0.916 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.743e-05/0.1256, allocations: 109.7 kB / 0.9161 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.1256, allocations: 384 / 0.9161 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1256, allocations: 8.375 kB / 0.9161 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.82e-05/0.1257, allocations: 126.7 kB / 0.9162 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1258, allocations: 0 / 0.9162 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.1258, allocations: 4 kB / 0.9162 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1258, allocations: 0 / 0.9162 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.636e-05/0.1258, allocations: 15.92 kB / 0.9163 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.485e-05/0.1259, allocations: 65.03 kB / 0.9163 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/0.1259, allocations: 46.56 kB / 0.9164 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.126, allocations: 12.86 kB / 0.9164 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.126, allocations: 0 / 0.9164 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.126, allocations: 34.56 kB / 0.9164 GB, free: 4.305 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 6.61e-07/0.126, allocations: 3.938 kB / 0.9164 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0005227/0.1265, allocations: 329.6 kB / 0.9167 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.1265, allocations: 55.41 kB / 0.9168 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.443e-05/0.1266, allocations: 98.72 kB / 0.9169 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.1266, allocations: 25.7 kB / 0.9169 GB, free: 3.738 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.1268, allocations: 84.12 kB / 0.917 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.1269, allocations: 35.69 kB / 0.917 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.1269, allocations: 37.83 kB / 0.917 GB, free: 3.574 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.127, allocations: 322.8 kB / 0.9174 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.127, allocations: 8 kB / 0.9174 GB, free: 3.242 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.315e-05/0.127, allocations: 25.7 kB / 0.9174 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.017e-05/0.1271, allocations: 45.61 kB / 0.9174 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1271, allocations: 0 / 0.9174 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 6.04e-05/0.1271, allocations: 77.53 kB / 0.9175 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.1271, allocations: 4 kB / 0.9175 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1271, allocations: 0 / 0.9175 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1271, allocations: 4 kB / 0.9175 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.1272, allocations: 20 kB / 0.9175 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.1272, allocations: 8 kB / 0.9175 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.1272, allocations: 3.938 kB / 0.9175 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1272, allocations: 4 kB / 0.9175 GB, free: 3.035 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 5.045e-05/0.1273, allocations: 117.8 kB / 0.9177 GB, free: 2.91 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.1273, allocations: 11.94 kB / 0.9177 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.1273, allocations: 11.97 kB / 0.9177 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1273, allocations: 0 / 0.9177 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.1273, allocations: 0 / 0.9177 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1273, allocations: 0 / 0.9177 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.832e-05/0.1274, allocations: 81.88 kB / 0.9178 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.1274, allocations: 4 kB / 0.9178 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.1274, allocations: 23.98 kB / 0.9178 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1274, allocations: 4 kB / 0.9178 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.1275, allocations: 0 / 0.9178 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1275, allocations: 3.938 kB / 0.9178 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.1275, allocations: 0 / 0.9178 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.1276, allocations: 109 kB / 0.9179 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.1276, allocations: 0 / 0.9179 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.1276, allocations: 8 kB / 0.9179 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.093e-05/0.1276, allocations: 11.86 kB / 0.9179 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.1276, allocations: 4 kB / 0.9179 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1276, allocations: 7.984 kB / 0.9179 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.586e-06/0.1276, allocations: 12.86 kB / 0.9179 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1276, allocations: 0 / 0.9179 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of remove unused functions: time 9.857e-05/0.1277, allocations: 12 kB / 0.918 GB, free: 2.566 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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 7.912e-05/0.1278, allocations: 84.41 kB / 0.918 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.091e-05/0.1279, allocations: 44.78 kB / 0.9181 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1279, allocations: 0 / 0.9181 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.1279, allocations: 36.94 kB / 0.9181 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.128, allocations: 27.19 kB / 0.9181 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004083/0.1284, allocations: 224.2 kB / 0.9183 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.973e-05/0.1285, allocations: 63.34 kB / 0.9184 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.1285, allocations: 8.734 kB / 0.9184 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.549e-05/0.1286, allocations: 79.36 kB / 0.9185 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/0.1286, allocations: 3.938 kB / 0.9185 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of Templates: time 0.002155/0.1307, allocations: 0.9365 MB / 0.9194 GB, free: 1.039 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & (cd run_cvode && ../Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_gbode.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_ida.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.957251233048737]