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.001159/0.001159, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001354/0.001354, allocations: 169.3 kB / 24.28 MB, free: 280 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.9439/0.9439, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.935/1.935, allocations: 377.8 MB / 0.6239 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 177] 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.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 1.203e-06/1.203e-06, allocations: 0 / 0.8116 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.516e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1387/0.1387, allocations: 157.4 MB / 0.9653 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003787/0.1425, allocations: 4.687 MB / 0.9699 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.1428, allocations: 15.81 kB / 0.9699 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.1432, allocations: 127 kB / 0.97 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0006811/0.1439, allocations: 350.1 kB / 0.9703 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.1444, allocations: 307.2 kB / 0.9706 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0007489/0.1452, allocations: 0.5648 MB / 0.9712 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.1454, allocations: 165.5 kB / 0.9713 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.1465, allocations: 0.7394 MB / 0.9721 GB, free: 13.14 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1467, allocations: 171.5 kB / 0.9722 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.1468, allocations: 20 kB / 0.9722 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1469, allocations: 79.92 kB / 0.9723 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 8.371e-05/0.147, allocations: 87.72 kB / 0.9724 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 8.122e-05/0.1471, allocations: 83.77 kB / 0.9725 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.1474, allocations: 247.1 kB / 0.9727 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1474, allocations: 0 / 0.9727 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1474, allocations: 0 / 0.9727 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1474, allocations: 4 kB / 0.9727 GB, free: 12.46 MB / 0.9323 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.001023/0.1484, allocations: 0.5574 MB / 0.9733 GB, free: 11.87 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1485, allocations: 8.031 kB / 0.9733 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.1486, allocations: 47.8 kB / 0.9733 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.1488, allocations: 244.4 kB / 0.9735 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1489, allocations: 12 kB / 0.9736 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.1489, allocations: 23.94 kB / 0.9736 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.1491, allocations: 242.7 kB / 0.9738 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1492, allocations: 4 kB / 0.9738 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1492, allocations: 8 kB / 0.9738 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1492, allocations: 4 kB / 0.9738 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.1493, allocations: 73.44 kB / 0.9739 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009294/0.1502, allocations: 1.688 MB / 0.9755 GB, free: 9.363 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1504, allocations: 194.6 kB / 0.9757 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.1505, allocations: 74.05 kB / 0.9758 GB, free: 9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.1506, allocations: 35.95 kB / 0.9758 GB, free: 8.965 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1507, allocations: 45.33 kB / 0.9759 GB, free: 8.91 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.1507, allocations: 0 / 0.9759 GB, free: 8.91 MB / 0.9323 GB Notification: Performance of matching and sorting (n=10): time 0.0002788/0.1509, allocations: 117.4 kB / 0.976 GB, free: 8.789 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.151, allocations: 199.8 kB / 0.9762 GB, free: 8.551 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.1512, allocations: 250.5 kB / 0.9764 GB, free: 8.289 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1512, allocations: 30.33 kB / 0.9765 GB, free: 8.254 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1513, allocations: 203 kB / 0.9766 GB, free: 8.051 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1513, allocations: 43.75 kB / 0.9767 GB, free: 8.008 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.1514, allocations: 47.31 kB / 0.9767 GB, free: 7.953 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1515, allocations: 0.4962 MB / 0.9772 GB, free: 7.445 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.1516, allocations: 15.98 kB / 0.9772 GB, free: 7.43 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1517, allocations: 207.9 kB / 0.9774 GB, free: 7.164 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.788e-05/0.1518, allocations: 117.4 kB / 0.9775 GB, free: 7.016 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1518, allocations: 0 / 0.9775 GB, free: 7.016 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001384/0.1519, allocations: 129.6 kB / 0.9777 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1519, allocations: 6.812 kB / 0.9777 GB, free: 6.879 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1519, allocations: 4 kB / 0.9777 GB, free: 6.875 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1519, allocations: 4 kB / 0.9777 GB, free: 6.871 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.152, allocations: 27.92 kB / 0.9777 GB, free: 6.844 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.152, allocations: 12.16 kB / 0.9777 GB, free: 6.832 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.1521, allocations: 23.88 kB / 0.9777 GB, free: 6.809 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.1521, allocations: 4 kB / 0.9777 GB, free: 6.805 MB / 0.9323 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 0.0002714/0.1524, allocations: 164.5 kB / 0.9779 GB, free: 6.633 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.389e-05/0.1524, allocations: 23.91 kB / 0.9779 GB, free: 6.609 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.1526, allocations: 78.81 kB / 0.978 GB, free: 6.523 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1526, allocations: 4 kB / 0.978 GB, free: 6.52 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1526, allocations: 7.984 kB / 0.978 GB, free: 6.512 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1526, allocations: 3.984 kB / 0.978 GB, free: 6.508 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.1531, allocations: 0.9182 MB / 0.9789 GB, free: 5.523 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1531, allocations: 4 kB / 0.9789 GB, free: 5.52 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-05/0.1532, allocations: 23.92 kB / 0.9789 GB, free: 5.496 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1532, allocations: 0 / 0.9789 GB, free: 5.496 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1532, allocations: 4 kB / 0.9789 GB, free: 5.492 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1532, allocations: 7.938 kB / 0.979 GB, free: 5.484 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1532, allocations: 3.938 kB / 0.979 GB, free: 5.48 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.1534, allocations: 294.2 kB / 0.9792 GB, free: 5.152 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.1534, allocations: 32.02 kB / 0.9793 GB, free: 5.121 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.1535, allocations: 8.125 kB / 0.9793 GB, free: 5.113 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.1535, allocations: 8 kB / 0.9793 GB, free: 5.105 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.1535, allocations: 7.984 kB / 0.9793 GB, free: 5.098 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1536, allocations: 8 kB / 0.9793 GB, free: 5.09 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 7.331e-05/0.1536, allocations: 176.5 kB / 0.9795 GB, free: 4.918 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1536, allocations: 0 / 0.9795 GB, free: 4.918 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002169/0.1538, allocations: 67.78 kB / 0.9795 GB, free: 4.852 MB / 0.9323 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.000172/0.154, allocations: 131.1 kB / 0.9797 GB, free: 4.715 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1542, allocations: 75.53 kB / 0.9797 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1542, allocations: 0 / 0.9797 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.1542, allocations: 39.61 kB / 0.9798 GB, free: 4.594 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1545, allocations: 63.81 kB / 0.9798 GB, free: 4.535 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000726/0.1553, allocations: 441.8 kB / 0.9802 GB, free: 4.055 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.385e-05/0.1553, allocations: 95.95 kB / 0.9803 GB, free: 3.941 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 6.912e-05/0.1554, allocations: 37.69 kB / 0.9804 GB, free: 3.906 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.1554, allocations: 20.5 kB / 0.9804 GB, free: 3.887 MB / 0.9323 GB Notification: Performance of SimCode: time 8.02e-07/0.1554, allocations: 4 kB / 0.9804 GB, free: 3.883 MB / 0.9323 GB Notification: Performance of Templates: time 0.004705/0.1601, allocations: 2.73 MB / 0.9831 GB, free: 1.234 MB / 0.9323 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 -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.342694213846698]