Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.0009824/0.0009824, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00102/0.00102, 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.9641/0.9641, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.956/1.956, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.867e-06/3.867e-06, allocations: 4 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.68e-05, allocations: 3.078 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1291/0.1291, allocations: 145.5 MB / 0.9022 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1306, allocations: 0.8588 MB / 0.903 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.1307, allocations: 15.88 kB / 0.903 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.131, allocations: 67.42 kB / 0.9031 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006567/0.1317, allocations: 334.1 kB / 0.9034 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.1322, allocations: 291.2 kB / 0.9037 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.1327, allocations: 0.5646 MB / 0.9043 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.1329, allocations: 151.5 kB / 0.9044 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.1333, allocations: 295.1 kB / 0.9047 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.1335, allocations: 159.6 kB / 0.9048 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1335, allocations: 16 kB / 0.9048 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1336, allocations: 99.78 kB / 0.9049 GB, free: 1.848 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.1337, allocations: 79.8 kB / 0.905 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.1338, allocations: 87.77 kB / 0.9051 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.134, allocations: 239.2 kB / 0.9053 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.134, allocations: 0 / 0.9053 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.062e-06/0.134, allocations: 0 / 0.9053 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.134, allocations: 0 / 0.9053 GB, free: 1.449 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0004392/0.1345, allocations: 439.6 kB / 0.9058 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.1345, allocations: 11.97 kB / 0.9058 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.1346, allocations: 32.91 kB / 0.9058 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.1348, allocations: 226.2 kB / 0.906 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1348, allocations: 16.38 kB / 0.906 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.1348, allocations: 16.38 kB / 0.906 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.135, allocations: 225.1 kB / 0.9063 GB, free: 424 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.135, allocations: 0 / 0.9063 GB, free: 424 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.135, allocations: 12 kB / 0.9063 GB, free: 412 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.1351, allocations: 4 kB / 0.9063 GB, free: 408 kB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.1351, allocations: 84.67 kB / 0.9064 GB, free: 316 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.1358, allocations: 1.154 MB / 0.9075 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.136, allocations: 315.4 kB / 0.9078 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.136, allocations: 64.39 kB / 0.9078 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.1362, allocations: 31.97 kB / 0.9079 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.1362, allocations: 38.5 kB / 0.9079 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1362, allocations: 0 / 0.9079 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0002424/0.1364, allocations: 97.56 kB / 0.908 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.1365, allocations: 191.9 kB / 0.9082 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.1366, allocations: 191.2 kB / 0.9084 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1366, allocations: 33.7 kB / 0.9084 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.1367, allocations: 148.2 kB / 0.9085 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.1367, allocations: 39.67 kB / 0.9086 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.1367, allocations: 29.72 kB / 0.9086 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.1368, allocations: 330.8 kB / 0.9089 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.1368, allocations: 15.36 kB / 0.9089 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.1369, allocations: 182.4 kB / 0.9091 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.829e-05/0.137, allocations: 99.5 kB / 0.9092 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.137, allocations: 3.938 kB / 0.9092 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001065/0.1371, allocations: 107.2 kB / 0.9093 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1371, allocations: 14.02 kB / 0.9093 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1371, allocations: 0 / 0.9093 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1371, allocations: 4 kB / 0.9093 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.374e-05/0.1372, allocations: 31.92 kB / 0.9094 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.1372, allocations: 0 / 0.9094 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.093e-05/0.1373, allocations: 15.95 kB / 0.9094 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.1373, allocations: 4 kB / 0.9094 GB, free: 12.88 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.882e-05/0.1374, allocations: 132.7 kB / 0.9095 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/0.1374, allocations: 19.94 kB / 0.9095 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.969e-05/0.1375, allocations: 70.81 kB / 0.9096 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1375, allocations: 0 / 0.9096 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1375, allocations: 4 kB / 0.9096 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1375, allocations: 3.938 kB / 0.9096 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.138, allocations: 0.6582 MB / 0.9102 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.138, allocations: 0 / 0.9102 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.138, allocations: 19.98 kB / 0.9103 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.138, allocations: 16.03 kB / 0.9103 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.138, allocations: 4.125 kB / 0.9103 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.138, allocations: 8 kB / 0.9103 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.138, allocations: 0 / 0.9103 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1382, allocations: 269.7 kB / 0.9105 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.1382, allocations: 31.78 kB / 0.9106 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1383, allocations: 0 / 0.9106 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.978e-05/0.1383, allocations: 8.031 kB / 0.9106 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.1383, allocations: 19.91 kB / 0.9106 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1383, allocations: 4 kB / 0.9106 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.1384, allocations: 62.23 kB / 0.9107 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.1384, allocations: 0 / 0.9107 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002013/0.1386, allocations: 55.88 kB / 0.9107 GB, free: 11.39 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0001478/0.1387, allocations: 112.8 kB / 0.9108 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1388, allocations: 56.72 kB / 0.9109 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.1388, allocations: 4 kB / 0.9109 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.1389, allocations: 41.39 kB / 0.9109 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.1391, allocations: 59.53 kB / 0.911 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.1398, allocations: 449 kB / 0.9114 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.022e-05/0.1398, allocations: 91.89 kB / 0.9115 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.058e-05/0.1399, allocations: 21.48 kB / 0.9115 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.14, allocations: 95.34 kB / 0.9116 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of SimCode: time 5.71e-07/0.14, allocations: 0 / 0.9116 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of Templates: time 0.00466/0.1446, allocations: 2.91 MB / 0.9144 GB, free: 7.582 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.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.086660081986338]