Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001054/0.001054, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001618/0.001618, allocations: 161 kB / 24.17 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.9748/0.9748, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.836/1.836, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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_12_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_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 1.094 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.357e-05, allocations: 2.312 kB / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002422/0.002445, allocations: 1.342 MB / 0.7613 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1344/0.1369, allocations: 142.2 MB / 0.9002 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.1369, allocations: 4 kB / 0.9002 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.1369, allocations: 3.984 kB / 0.9002 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.112e-05/0.137, allocations: 4 kB / 0.9002 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.1374, allocations: 99.44 kB / 0.9003 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.141e-05/0.1375, allocations: 31.86 kB / 0.9003 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.1376, allocations: 11.95 kB / 0.9003 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.268e-05/0.1376, allocations: 19.98 kB / 0.9003 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.1377, allocations: 11.97 kB / 0.9003 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1377, allocations: 8 kB / 0.9003 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.1379, allocations: 79.64 kB / 0.9004 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.138, allocations: 11.98 kB / 0.9004 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.138, allocations: 7.984 kB / 0.9004 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1381, allocations: 75.75 kB / 0.9005 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1381, allocations: 0 / 0.9005 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1381, allocations: 0 / 0.9005 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1381, allocations: 0 / 0.9005 GB, free: 6.422 MB / 0.8542 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.00032/0.1384, allocations: 252.5 kB / 0.9007 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1385, allocations: 8.031 kB / 0.9008 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.1386, allocations: 29.16 kB / 0.9008 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.931e-05/0.1387, allocations: 109.7 kB / 0.9009 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1387, allocations: 4.375 kB / 0.9009 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.1387, allocations: 4.375 kB / 0.9009 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1389, allocations: 130.7 kB / 0.901 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1389, allocations: 4 kB / 0.901 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1389, allocations: 0 / 0.901 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1389, allocations: 0 / 0.901 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.1389, allocations: 11.98 kB / 0.901 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.139, allocations: 69.03 kB / 0.9011 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.944e-05/0.1391, allocations: 38.56 kB / 0.9011 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.1391, allocations: 16.86 kB / 0.9012 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.1391, allocations: 3.938 kB / 0.9012 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1391, allocations: 38.55 kB / 0.9012 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 6.31e-07/0.1391, allocations: 0 / 0.9012 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0006195/0.1397, allocations: 317.7 kB / 0.9015 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.1398, allocations: 51.41 kB / 0.9015 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.749e-05/0.1398, allocations: 102.7 kB / 0.9016 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1398, allocations: 29.7 kB / 0.9017 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/0.1399, allocations: 80.14 kB / 0.9017 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.1399, allocations: 39.77 kB / 0.9018 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.1399, allocations: 37.69 kB / 0.9018 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.14, allocations: 318.8 kB / 0.9021 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.14, allocations: 8 kB / 0.9021 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-05/0.1401, allocations: 26.2 kB / 0.9022 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.098e-05/0.1401, allocations: 45.66 kB / 0.9022 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1401, allocations: 0 / 0.9022 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.136e-05/0.1402, allocations: 81.53 kB / 0.9023 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1402, allocations: 4 kB / 0.9023 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1402, allocations: 0 / 0.9023 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1403, allocations: 4 kB / 0.9023 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.959e-05/0.1403, allocations: 23.98 kB / 0.9023 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1403, allocations: 4 kB / 0.9023 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.1404, allocations: 11.94 kB / 0.9023 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.1404, allocations: 0 / 0.9023 GB, free: 4.348 MB / 0.8542 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.02e-05/0.1404, allocations: 113.8 kB / 0.9024 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.1404, allocations: 7.938 kB / 0.9024 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.1405, allocations: 15.91 kB / 0.9025 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1405, allocations: 7.984 kB / 0.9025 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1405, allocations: 0 / 0.9025 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1405, allocations: 0 / 0.9025 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.57e-05/0.1406, allocations: 77.89 kB / 0.9025 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1406, allocations: 0 / 0.9025 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.468e-05/0.1406, allocations: 23.98 kB / 0.9026 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1406, allocations: 0 / 0.9026 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.1406, allocations: 4 kB / 0.9026 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1406, allocations: 7.875 kB / 0.9026 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1406, allocations: 0 / 0.9026 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.1408, allocations: 103.5 kB / 0.9027 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.1408, allocations: 7.984 kB / 0.9027 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.1408, allocations: 0 / 0.9027 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/0.1408, allocations: 11.94 kB / 0.9027 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.1408, allocations: 7.984 kB / 0.9027 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1409, allocations: 4 kB / 0.9027 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.365e-06/0.1409, allocations: 12.78 kB / 0.9027 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1409, allocations: 0 / 0.9027 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001099/0.141, allocations: 20 kB / 0.9027 GB, free: 3.879 MB / 0.8542 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.844e-05/0.1411, allocations: 88.39 kB / 0.9028 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.549e-05/0.1411, allocations: 36.84 kB / 0.9029 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1411, allocations: 0 / 0.9029 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.1412, allocations: 32.88 kB / 0.9029 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.1413, allocations: 20.45 kB / 0.9029 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.1418, allocations: 220.2 kB / 0.9031 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.487e-05/0.1418, allocations: 63.2 kB / 0.9032 GB, free: 3.363 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.478e-05/0.1419, allocations: 12.72 kB / 0.9032 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.1419, allocations: 79.34 kB / 0.9033 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/0.1419, allocations: 0 / 0.9033 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of Templates: time 0.002546/0.1445, allocations: 0.9481 MB / 0.9042 GB, free: 2.352 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.1330839190632105]