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.001103/0.001103, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001112/0.001112, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9986/0.9986, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.904/1.904, allocations: 359 MB / 0.6052 GB, free: 11 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.473e-06/1.473e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.81e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001724/0.001752, allocations: 1.327 MB / 0.7884 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1295/0.1313, allocations: 142.8 MB / 0.9278 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.1313, allocations: 3.938 kB / 0.9278 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.1314, allocations: 0 / 0.9278 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 5.922e-05/0.1314, allocations: 7.938 kB / 0.9278 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.1318, allocations: 99.42 kB / 0.9279 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.1319, allocations: 27.92 kB / 0.928 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.1319, allocations: 3.984 kB / 0.928 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 6.333e-05/0.132, allocations: 23.92 kB / 0.928 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 5.829e-05/0.1321, allocations: 11.97 kB / 0.928 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.1321, allocations: 4 kB / 0.928 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.1323, allocations: 75.75 kB / 0.9281 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.1323, allocations: 15.94 kB / 0.9281 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.1323, allocations: 11.98 kB / 0.9281 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.1325, allocations: 71.69 kB / 0.9282 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1325, allocations: 0 / 0.9282 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.005e-06/0.1325, allocations: 4 kB / 0.9282 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.1325, allocations: 0 / 0.9282 GB, free: 11.55 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.0003832/0.1329, allocations: 384.1 kB / 0.9285 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1329, allocations: 12.03 kB / 0.9285 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.1331, allocations: 25.16 kB / 0.9286 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.974e-05/0.1332, allocations: 116.6 kB / 0.9287 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1332, allocations: 384 / 0.9287 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1332, allocations: 8.375 kB / 0.9287 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.1333, allocations: 130.7 kB / 0.9288 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1334, allocations: 0 / 0.9288 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1334, allocations: 0 / 0.9288 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.1334, allocations: 0 / 0.9288 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.836e-05/0.1334, allocations: 15.92 kB / 0.9288 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.1335, allocations: 128.6 kB / 0.929 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.898e-05/0.1336, allocations: 51.05 kB / 0.929 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/0.1337, allocations: 15.67 kB / 0.929 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.1337, allocations: 4 kB / 0.929 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.1337, allocations: 45.33 kB / 0.9291 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1337, allocations: 0 / 0.9291 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0006468/0.1343, allocations: 292 kB / 0.9293 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.1344, allocations: 55.34 kB / 0.9294 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.826e-05/0.1344, allocations: 157.9 kB / 0.9295 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1345, allocations: 29.7 kB / 0.9296 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.1345, allocations: 127.1 kB / 0.9297 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.1345, allocations: 47.77 kB / 0.9297 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.1346, allocations: 35.36 kB / 0.9298 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1347, allocations: 496.1 kB / 0.9302 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.716e-05/0.1347, allocations: 15.98 kB / 0.9303 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.934e-05/0.1348, allocations: 35.36 kB / 0.9303 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.697e-05/0.1348, allocations: 55.31 kB / 0.9303 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1348, allocations: 0 / 0.9303 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002042/0.135, allocations: 105.5 kB / 0.9304 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1351, allocations: 5.875 kB / 0.9305 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1351, allocations: 0 / 0.9305 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.1351, allocations: 8 kB / 0.9305 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.1352, allocations: 19.98 kB / 0.9305 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1352, allocations: 0.7031 kB / 0.9305 GB, free: 8.914 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.1352, allocations: 4 kB / 0.9305 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1352, allocations: 0 / 0.9305 GB, free: 8.91 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 7.105e-05/0.1353, allocations: 164.5 kB / 0.9306 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.1353, allocations: 11.94 kB / 0.9307 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.1353, allocations: 11.97 kB / 0.9307 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1353, allocations: 0 / 0.9307 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1353, allocations: 0 / 0.9307 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1353, allocations: 0 / 0.9307 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.804e-05/0.1354, allocations: 128.6 kB / 0.9308 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1354, allocations: 3.984 kB / 0.9308 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.543e-05/0.1355, allocations: 27.92 kB / 0.9308 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1355, allocations: 0 / 0.9308 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1355, allocations: 0 / 0.9308 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1355, allocations: 0 / 0.9308 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1355, allocations: 0 / 0.9308 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.1357, allocations: 144.2 kB / 0.931 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.1357, allocations: 15.88 kB / 0.931 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.1357, allocations: 4 kB / 0.931 GB, free: 8.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.004e-05/0.1358, allocations: 4 kB / 0.931 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.1358, allocations: 7.984 kB / 0.931 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.1358, allocations: 8 kB / 0.931 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.112e-05/0.1358, allocations: 119.2 kB / 0.9311 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1358, allocations: 0 / 0.9311 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001347/0.136, allocations: 16 kB / 0.9311 GB, free: 8.188 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 9.731e-05/0.1361, allocations: 99.25 kB / 0.9312 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.1362, allocations: 63.67 kB / 0.9313 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1362, allocations: 0 / 0.9313 GB, free: 8.016 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.925e-05/0.1362, allocations: 39.7 kB / 0.9313 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.1364, allocations: 22.02 kB / 0.9313 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007356/0.1371, allocations: 269.9 kB / 0.9316 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.303e-05/0.1372, allocations: 59.36 kB / 0.9317 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.83e-05/0.1372, allocations: 12.72 kB / 0.9317 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.1373, allocations: 12.5 kB / 0.9317 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of SimCode: time 9.21e-07/0.1373, allocations: 0 / 0.9317 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of Templates: time 0.002654/0.1399, allocations: 0.8419 MB / 0.9325 GB, free: 6.742 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: 5.358021780848503]