Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.000974/0.000974, 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.000999/0.000999, allocations: 161 kB / 24.17 MB, free: 328 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.9464/0.9464, allocations: 177.1 MB / 204.6 MB, free: 5.027 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.886/1.886, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.982e-05, allocations: 6.094 kB / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004353/0.004383, allocations: 4.232 MB / 0.7642 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001575/0.00454, allocations: 161.5 kB / 0.7643 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.004562, allocations: 0 / 0.7643 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.815e-05/0.00465, allocations: 4 kB / 0.7643 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.004716, allocations: 17.33 kB / 0.7643 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.004965, allocations: 84.92 kB / 0.7644 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.775e-05/0.005033, allocations: 35.84 kB / 0.7644 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.187e-05/0.005065, allocations: 5.812 kB / 0.7644 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.837e-05/0.005113, allocations: 23.91 kB / 0.7645 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.005172, allocations: 11.98 kB / 0.7645 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.005182, allocations: 0 / 0.7645 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.005336, allocations: 58.72 kB / 0.7645 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.005372, allocations: 7.984 kB / 0.7645 GB, free: 2 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.00539, allocations: 8 kB / 0.7646 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.005493, allocations: 59.86 kB / 0.7646 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005495, allocations: 3.938 kB / 0.7646 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.293e-06/0.005497, allocations: 0 / 0.7646 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.0055, allocations: 0 / 0.7646 GB, free: 1.93 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002279/0.005728, allocations: 236.6 kB / 0.7648 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.005763, allocations: 14.78 kB / 0.7649 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.005789, allocations: 4.922 kB / 0.7649 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.601e-05/0.005855, allocations: 110.1 kB / 0.765 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.0059, allocations: 51.97 kB / 0.765 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.005907, allocations: 384 / 0.765 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.733e-05/0.006004, allocations: 83.48 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.00601, allocations: 192 / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.006018, allocations: 4.625 kB / 0.7651 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.006035, allocations: 0 / 0.7651 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.006054, allocations: 13.12 kB / 0.7651 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.006288, allocations: 169.9 kB / 0.7653 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.831e-05/0.006316, allocations: 19.3 kB / 0.7653 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.855e-06/0.006324, allocations: 4.859 kB / 0.7653 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.201e-05/0.006366, allocations: 8.656 kB / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/0.006634, allocations: 41.81 kB / 0.7653 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/0.006635, allocations: 0 / 0.7653 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 8.124e-05/0.006717, allocations: 33.64 kB / 0.7654 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.006738, allocations: 51.41 kB / 0.7654 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.148e-05/0.006789, allocations: 114.7 kB / 0.7655 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.006801, allocations: 29.7 kB / 0.7656 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.102e-05/0.006832, allocations: 88.03 kB / 0.7656 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-06/0.006835, allocations: 0 / 0.7656 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.006857, allocations: 20.8 kB / 0.7657 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.006921, allocations: 322.8 kB / 0.766 GB, free: 388 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-06/0.006926, allocations: 0 / 0.766 GB, free: 388 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/0.00694, allocations: 13.72 kB / 0.766 GB, free: 368 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/0.006963, allocations: 24.47 kB / 0.766 GB, free: 336 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006964, allocations: 4 kB / 0.766 GB, free: 332 kB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.516e-05/0.00701, allocations: 42.59 kB / 0.7661 GB, free: 284 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.007021, allocations: 7.938 kB / 0.7661 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.007026, allocations: 8.5 kB / 0.7661 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.007036, allocations: 2.438 kB / 0.7661 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.11e-05/0.007067, allocations: 7.938 kB / 0.7661 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.007072, allocations: 3.984 kB / 0.7661 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.007086, allocations: 7.953 kB / 0.7661 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.007093, allocations: 0 / 0.7661 GB, free: 248 kB / 0.7136 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 (3): * Single equations (assignments): 3 * 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 4.502e-05/0.007138, allocations: 108.7 kB / 0.7662 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.007155, allocations: 14.95 kB / 0.7662 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.791e-05/0.007243, allocations: 117 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.871e-05/0.007282, allocations: 180.2 kB / 0.7665 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.489e-05/0.007317, allocations: 180.2 kB / 0.7667 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.408e-05/0.007351, allocations: 180.3 kB / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.007469, allocations: 325.4 kB / 0.7671 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.139e-05/0.00749, allocations: 101 kB / 0.7672 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.007513, allocations: 108.9 kB / 0.7673 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.651e-05/0.00755, allocations: 181.8 kB / 0.7675 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.007585, allocations: 180.3 kB / 0.7677 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.545e-05/0.00762, allocations: 184.1 kB / 0.7679 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.551e-05/0.007656, allocations: 180.3 kB / 0.768 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.752e-05/0.007743, allocations: 305 kB / 0.7683 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.007771, allocations: 108.9 kB / 0.7684 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.007813, allocations: 176.3 kB / 0.7686 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.007898, allocations: 117.6 kB / 0.7687 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.007938, allocations: 184.2 kB / 0.7689 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.00796, allocations: 105.8 kB / 0.769 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.146e-05/0.007982, allocations: 12.84 kB / 0.769 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007982, allocations: 4.594 kB / 0.769 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001435/0.008125, allocations: 19.34 kB / 0.769 GB, free: 13.06 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0001274/0.008253, allocations: 171.6 kB / 0.7692 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.82e-05/0.008301, allocations: 16.8 kB / 0.7692 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.008304, allocations: 0 / 0.7692 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.008305, allocations: 0 / 0.7692 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.008517, allocations: 463.7 kB / 0.7696 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.008829, allocations: 198.1 kB / 0.7698 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.932e-05/0.008858, allocations: 55.22 kB / 0.7699 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.595e-05/0.008884, allocations: 4 kB / 0.7699 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.008942, allocations: 71.33 kB / 0.77 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of SimCode: time 7.62e-07/0.008943, allocations: 1.156 kB / 0.77 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of Templates: time 0.002088/0.01103, allocations: 0.7292 MB / 0.7707 GB, free: 11.34 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.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.006016873754561]