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.001004/0.001004, 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.0009762/0.0009762, 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.9209/0.9209, allocations: 177.1 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.905/1.905, allocations: 377.9 MB / 0.624 GB, free: 8.359 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 1.653e-06/1.653e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.347e-05, allocations: 2.312 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1418/0.1418, allocations: 145.5 MB / 0.9021 GB, free: 4.785 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.143, allocations: 0.8657 MB / 0.903 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1431, allocations: 11.88 kB / 0.903 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.1434, allocations: 75.36 kB / 0.903 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000857/0.1442, allocations: 334.2 kB / 0.9034 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.1447, allocations: 295.2 kB / 0.9036 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.1451, allocations: 0.5531 MB / 0.9042 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.1453, allocations: 159.5 kB / 0.9043 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.1456, allocations: 303.2 kB / 0.9046 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.1458, allocations: 167.5 kB / 0.9048 GB, free: 2.047 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.1458, allocations: 16 kB / 0.9048 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1459, allocations: 75.88 kB / 0.9049 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.146, allocations: 95.7 kB / 0.905 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.146, allocations: 79.83 kB / 0.905 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.1463, allocations: 243.2 kB / 0.9053 GB, free: 1.547 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1463, allocations: 4 kB / 0.9053 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1463, allocations: 0 / 0.9053 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1463, allocations: 0 / 0.9053 GB, free: 1.543 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.000438/0.1467, allocations: 439.5 kB / 0.9057 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.1467, allocations: 12.03 kB / 0.9057 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.1468, allocations: 28.91 kB / 0.9057 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.147, allocations: 226.2 kB / 0.9059 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.147, allocations: 16.38 kB / 0.906 GB, free: 0.7891 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.1471, allocations: 20.38 kB / 0.906 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1473, allocations: 221.1 kB / 0.9062 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.1473, allocations: 4 kB / 0.9062 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1473, allocations: 11.98 kB / 0.9062 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.1473, allocations: 8 kB / 0.9062 GB, free: 500 kB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.985e-05/0.1474, allocations: 64.83 kB / 0.9063 GB, free: 428 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.148, allocations: 1.162 MB / 0.9074 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1482, allocations: 311.5 kB / 0.9077 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.1482, allocations: 68.33 kB / 0.9078 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.1483, allocations: 35.95 kB / 0.9078 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.1484, allocations: 38.5 kB / 0.9078 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1484, allocations: 4 kB / 0.9078 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0001885/0.1485, allocations: 93.53 kB / 0.9079 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.1486, allocations: 184.5 kB / 0.9081 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1487, allocations: 199.2 kB / 0.9083 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1487, allocations: 33.7 kB / 0.9083 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.1488, allocations: 140.2 kB / 0.9085 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1488, allocations: 43.67 kB / 0.9085 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.1489, allocations: 37.69 kB / 0.9085 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.1489, allocations: 326.8 kB / 0.9089 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.149, allocations: 14.81 kB / 0.9089 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.008e-05/0.149, allocations: 174.7 kB / 0.909 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.277e-05/0.1491, allocations: 107.2 kB / 0.9091 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1491, allocations: 0 / 0.9091 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.721e-05/0.1492, allocations: 103.1 kB / 0.9092 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.1492, allocations: 8 kB / 0.9092 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1492, allocations: 0 / 0.9092 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1492, allocations: 4.219 kB / 0.9093 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.1493, allocations: 39.92 kB / 0.9093 GB, free: 13 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1493, allocations: 3.938 kB / 0.9093 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.1494, allocations: 15.94 kB / 0.9093 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.1494, allocations: 4 kB / 0.9093 GB, free: 12.97 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.429e-05/0.1494, allocations: 132.5 kB / 0.9094 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.1495, allocations: 19.92 kB / 0.9095 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.601e-05/0.1496, allocations: 70.86 kB / 0.9095 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1496, allocations: 0 / 0.9095 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1496, allocations: 4 kB / 0.9095 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1496, allocations: 7.984 kB / 0.9095 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.1503, allocations: 0.6581 MB / 0.9102 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1503, allocations: 0 / 0.9102 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.1503, allocations: 20.12 kB / 0.9102 GB, free: 12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1503, allocations: 7.984 kB / 0.9102 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.1503, allocations: 4 kB / 0.9102 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1503, allocations: 4 kB / 0.9102 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1503, allocations: 3.938 kB / 0.9102 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.1505, allocations: 273.9 kB / 0.9105 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.1505, allocations: 31.78 kB / 0.9105 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.1505, allocations: 0 / 0.9105 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/0.1506, allocations: 4 kB / 0.9105 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.1506, allocations: 15.92 kB / 0.9105 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1506, allocations: 4 kB / 0.9105 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.1507, allocations: 62.17 kB / 0.9106 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1507, allocations: 0 / 0.9106 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001797/0.1508, allocations: 59.89 kB / 0.9106 GB, free: 11.5 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.0001378/0.151, allocations: 108.3 kB / 0.9108 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.31e-05/0.1511, allocations: 66.23 kB / 0.9108 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1511, allocations: 0 / 0.9108 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.08e-05/0.1511, allocations: 28.8 kB / 0.9108 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.1513, allocations: 70.47 kB / 0.9109 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.1519, allocations: 444.9 kB / 0.9113 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.838e-05/0.152, allocations: 95.84 kB / 0.9114 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.77e-05/0.152, allocations: 29.41 kB / 0.9115 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1521, allocations: 99.31 kB / 0.9115 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of SimCode: time 5.61e-07/0.1521, allocations: 0 / 0.9115 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.004409/0.1565, allocations: 2.903 MB / 0.9144 GB, free: 7.676 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 -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.2563889608718455]