Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001392/0.001392, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001621/0.001621, allocations: 185 kB / 24.09 MB, free: 416 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.9498/0.9498, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.765/1.765, allocations: 359 MB / 0.6055 GB, free: 10.85 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.888e-05, allocations: 3.312 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001724/0.001743, allocations: 1.327 MB / 0.7888 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1221/0.1239, allocations: 140.1 MB / 0.9256 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.1239, allocations: 0 / 0.9256 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.124, allocations: 7.938 kB / 0.9257 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 5.309e-05/0.124, allocations: 7.938 kB / 0.9257 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.1244, allocations: 91.48 kB / 0.9257 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 6.476e-05/0.1244, allocations: 35.84 kB / 0.9258 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 3.201e-05/0.1245, allocations: 4 kB / 0.9258 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.1245, allocations: 19.92 kB / 0.9258 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.1246, allocations: 19.97 kB / 0.9258 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.1246, allocations: 0 / 0.9258 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.1248, allocations: 83.75 kB / 0.9259 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.1248, allocations: 7.984 kB / 0.9259 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.1248, allocations: 11.94 kB / 0.9259 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.1249, allocations: 75.73 kB / 0.926 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1249, allocations: 0 / 0.926 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1249, allocations: 3.984 kB / 0.926 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1249, allocations: 0 / 0.926 GB, free: 13.96 MB / 0.8855 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.0003151/0.1253, allocations: 376.2 kB / 0.9264 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1253, allocations: 8.031 kB / 0.9264 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.1254, allocations: 33.16 kB / 0.9264 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.256e-05/0.1255, allocations: 108.6 kB / 0.9265 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1255, allocations: 8.312 kB / 0.9265 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.1255, allocations: 8.375 kB / 0.9265 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.972e-05/0.1256, allocations: 122.7 kB / 0.9266 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1256, allocations: 0 / 0.9266 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.1256, allocations: 4 kB / 0.9266 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1256, allocations: 4 kB / 0.9266 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.611e-05/0.1257, allocations: 15.91 kB / 0.9267 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.1258, allocations: 105.2 kB / 0.9268 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.912e-05/0.1258, allocations: 55.03 kB / 0.9268 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.1259, allocations: 19.67 kB / 0.9268 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.1259, allocations: 0 / 0.9268 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1259, allocations: 33.62 kB / 0.9269 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 7.01e-07/0.1259, allocations: 4 kB / 0.9269 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0004386/0.1263, allocations: 293 kB / 0.9271 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.1264, allocations: 55.41 kB / 0.9272 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.014e-05/0.1264, allocations: 157.9 kB / 0.9273 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.1264, allocations: 25.83 kB / 0.9274 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.1265, allocations: 134.9 kB / 0.9275 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.1265, allocations: 39.64 kB / 0.9275 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.1265, allocations: 39.3 kB / 0.9276 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1266, allocations: 496.1 kB / 0.928 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.1266, allocations: 11.98 kB / 0.9281 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.1267, allocations: 39.34 kB / 0.9281 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.586e-05/0.1267, allocations: 51.3 kB / 0.9281 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1267, allocations: 0 / 0.9281 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.748e-05/0.1268, allocations: 89.5 kB / 0.9282 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1268, allocations: 4 kB / 0.9282 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1268, allocations: 8 kB / 0.9282 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1268, allocations: 4 kB / 0.9282 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.1269, allocations: 19.98 kB / 0.9283 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1269, allocations: 4.703 kB / 0.9283 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.1269, allocations: 4 kB / 0.9283 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.1269, allocations: 0 / 0.9283 GB, free: 11.38 MB / 0.8855 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 6.2e-05/0.127, allocations: 164.5 kB / 0.9284 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.127, allocations: 7.938 kB / 0.9284 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.127, allocations: 11.97 kB / 0.9284 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.127, allocations: 4 kB / 0.9285 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.127, allocations: 4 kB / 0.9285 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.127, allocations: 0 / 0.9285 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.475e-05/0.1271, allocations: 109.2 kB / 0.9286 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.1271, allocations: 0 / 0.9286 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.1271, allocations: 23.98 kB / 0.9286 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1271, allocations: 0 / 0.9286 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.1272, allocations: 7.938 kB / 0.9286 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.1272, allocations: 0 / 0.9286 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1272, allocations: 0 / 0.9286 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.1273, allocations: 132.2 kB / 0.9287 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.1273, allocations: 3.984 kB / 0.9287 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.1273, allocations: 11.94 kB / 0.9287 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.1273, allocations: 4 kB / 0.9287 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.1274, allocations: 7.984 kB / 0.9287 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1274, allocations: 0 / 0.9287 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.596e-05/0.1274, allocations: 123.2 kB / 0.9289 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1274, allocations: 0 / 0.9289 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001249/0.1275, allocations: 16 kB / 0.9289 GB, free: 10.7 MB / 0.8855 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 8.203e-05/0.1276, allocations: 99.25 kB / 0.929 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.063e-05/0.1277, allocations: 63.77 kB / 0.929 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1277, allocations: 0 / 0.929 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.222e-05/0.1277, allocations: 31.61 kB / 0.9291 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.1278, allocations: 15.98 kB / 0.9291 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.1283, allocations: 273.9 kB / 0.9293 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.796e-05/0.1283, allocations: 59.92 kB / 0.9294 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.692e-05/0.1284, allocations: 12.72 kB / 0.9294 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.1284, allocations: 94.19 kB / 0.9295 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of SimCode: time 5.51e-07/0.1284, allocations: 0 / 0.9295 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of Templates: time 0.002298/0.1307, allocations: 0.9378 MB / 0.9304 GB, free: 9.082 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.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: 4.89362671924755]