Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.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.0009751/0.0009751, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.00101/0.00101, allocations: 185 kB / 24.09 MB, free: 412 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.932/0.932, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.815/1.815, allocations: 377.9 MB / 0.6239 GB, free: 8.395 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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.812 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.555e-05, allocations: 7.5 kB / 0.812 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001592/0.001607, allocations: 1.383 MB / 0.8133 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1212/0.1228, allocations: 141.2 MB / 0.9512 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.1229, allocations: 0 / 0.9512 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.058e-05/0.123, allocations: 7.922 kB / 0.9512 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.1231, allocations: 11.92 kB / 0.9512 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1241, allocations: 346.2 kB / 0.9516 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.1242, allocations: 63.77 kB / 0.9516 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.301e-05/0.1243, allocations: 4 kB / 0.9516 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.243e-05/0.1243, allocations: 51.81 kB / 0.9517 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1245, allocations: 23.95 kB / 0.9517 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1245, allocations: 4 kB / 0.9517 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000759/0.1252, allocations: 382.6 kB / 0.9521 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 8.241e-05/0.1253, allocations: 15.92 kB / 0.9521 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.1254, allocations: 31.91 kB / 0.9521 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.1257, allocations: 163.6 kB / 0.9523 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1257, allocations: 0 / 0.9523 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1257, allocations: 3.938 kB / 0.9523 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.1257, allocations: 0 / 0.9523 GB, free: 1.324 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003843/0.1261, allocations: 420.2 kB / 0.9527 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1261, allocations: 8.031 kB / 0.9527 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.1264, allocations: 60.67 kB / 0.9528 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.854e-05/0.1265, allocations: 112.5 kB / 0.9529 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1265, allocations: 8.375 kB / 0.9529 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1265, allocations: 16.33 kB / 0.9529 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1267, allocations: 190.1 kB / 0.9531 GB, free: 440 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1267, allocations: 7.938 kB / 0.9531 GB, free: 432 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1267, allocations: 4 kB / 0.9531 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1267, allocations: 0 / 0.9531 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.1267, allocations: 31.89 kB / 0.9531 GB, free: 396 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.1269, allocations: 113.2 kB / 0.9532 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.127, allocations: 87.16 kB / 0.9533 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/0.127, allocations: 23.61 kB / 0.9533 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.1271, allocations: 31.92 kB / 0.9534 GB, free: 96 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1272, allocations: 33.39 kB / 0.9534 GB, free: 52 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.1272, allocations: 0 / 0.9534 GB, free: 52 kB / 0.9011 GB Notification: Performance of matching and sorting (n=19): time 0.0008209/0.128, allocations: 448.3 kB / 0.9538 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.128, allocations: 55.41 kB / 0.9539 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.016e-05/0.1281, allocations: 157.9 kB / 0.954 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1281, allocations: 29.7 kB / 0.954 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.1281, allocations: 127.2 kB / 0.9542 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.1282, allocations: 71.38 kB / 0.9542 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.1282, allocations: 47.34 kB / 0.9543 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1283, allocations: 0.4884 MB / 0.9548 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.1283, allocations: 20.11 kB / 0.9548 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.925e-05/0.1284, allocations: 64.12 kB / 0.9548 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.678e-05/0.1285, allocations: 102.6 kB / 0.9549 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1285, allocations: 3.938 kB / 0.9549 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001156/0.1286, allocations: 125.6 kB / 0.9551 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.1286, allocations: 4 kB / 0.9551 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1286, allocations: 4 kB / 0.9551 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1286, allocations: 4 kB / 0.9551 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.1287, allocations: 35.98 kB / 0.9551 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1287, allocations: 0 / 0.9551 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.1287, allocations: 19.88 kB / 0.9551 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1287, allocations: 4 kB / 0.9551 GB, free: 14.13 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.958e-05/0.1288, allocations: 168.5 kB / 0.9553 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.1288, allocations: 19.95 kB / 0.9553 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.1289, allocations: 20.45 kB / 0.9553 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1289, allocations: 0 / 0.9553 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1289, allocations: 0 / 0.9553 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1289, allocations: 4 kB / 0.9553 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.1292, allocations: 113.2 kB / 0.9554 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1292, allocations: 0 / 0.9554 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.1293, allocations: 39.91 kB / 0.9555 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1293, allocations: 11.94 kB / 0.9555 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.1293, allocations: 4 kB / 0.9555 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.1293, allocations: 0 / 0.9555 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.1293, allocations: 0 / 0.9555 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.1295, allocations: 176.3 kB / 0.9557 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.1295, allocations: 19.88 kB / 0.9557 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.1296, allocations: 8 kB / 0.9557 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.334e-05/0.1296, allocations: 7.984 kB / 0.9557 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.1296, allocations: 11.97 kB / 0.9557 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.1296, allocations: 4 kB / 0.9557 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.877e-05/0.1296, allocations: 127.2 kB / 0.9558 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1296, allocations: 0 / 0.9558 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001411/0.1298, allocations: 32 kB / 0.9559 GB, free: 13.32 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001043/0.1299, allocations: 105.9 kB / 0.956 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.13, allocations: 93.89 kB / 0.9561 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.13, allocations: 0 / 0.9561 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.646e-05/0.13, allocations: 48.56 kB / 0.9561 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.1302, allocations: 36.28 kB / 0.9561 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.1308, allocations: 402.8 kB / 0.9565 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.867e-05/0.1309, allocations: 75.97 kB / 0.9566 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.068e-05/0.1309, allocations: 20.64 kB / 0.9566 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/0.131, allocations: 110.2 kB / 0.9567 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of SimCode: time 6.92e-07/0.131, allocations: 0 / 0.9567 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of Templates: time 0.003015/0.134, allocations: 1.605 MB / 0.9583 GB, free: 10.82 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.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.218542641028762]