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.001087/0.001087, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.0009888/0.0009888, allocations: 175.5 kB / 24.87 MB, free: 8.863 MB / 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.9345/0.9345, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.893/1.893, allocations: 377.9 MB / 0.6247 GB, free: 8.379 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.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.042e-06/1.042e-06, allocations: 0 / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.493e-05, allocations: 10.19 kB / 0.8128 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1276/0.1276, allocations: 143.4 MB / 0.9528 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1291, allocations: 0.8527 MB / 0.9536 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.1292, allocations: 11.88 kB / 0.9537 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.1295, allocations: 75.36 kB / 0.9537 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0006598/0.1302, allocations: 330.2 kB / 0.954 GB, free: 308 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.1307, allocations: 287.2 kB / 0.9543 GB, free: 20 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.1311, allocations: 0.5612 MB / 0.9549 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.1314, allocations: 165.5 kB / 0.955 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003635/0.1317, allocations: 299.1 kB / 0.9553 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.1319, allocations: 175.5 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.132, allocations: 16 kB / 0.9555 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.1321, allocations: 79.92 kB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.859e-05/0.1322, allocations: 87.72 kB / 0.9556 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.1322, allocations: 75.84 kB / 0.9557 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1325, allocations: 255.1 kB / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1325, allocations: 0 / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1325, allocations: 0 / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.1325, allocations: 0 / 0.956 GB, free: 14.32 MB / 0.9167 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.0005456/0.1331, allocations: 0.554 MB / 0.9565 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1331, allocations: 8.031 kB / 0.9565 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.1332, allocations: 44.8 kB / 0.9566 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1334, allocations: 248.9 kB / 0.9568 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1334, allocations: 12.38 kB / 0.9568 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.1335, allocations: 20.31 kB / 0.9568 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.1337, allocations: 242.6 kB / 0.9571 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1337, allocations: 0 / 0.9571 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1337, allocations: 8 kB / 0.9571 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1338, allocations: 4 kB / 0.9571 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.871e-05/0.1338, allocations: 63.81 kB / 0.9571 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008629/0.1347, allocations: 1.692 MB / 0.9588 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1349, allocations: 186.7 kB / 0.959 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.1349, allocations: 74.09 kB / 0.959 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.1351, allocations: 39.83 kB / 0.9591 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1351, allocations: 41.33 kB / 0.9591 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.1351, allocations: 0 / 0.9591 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.000242/0.1353, allocations: 117.3 kB / 0.9592 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.1354, allocations: 184.5 kB / 0.9594 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.1355, allocations: 254.4 kB / 0.9596 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1355, allocations: 29.7 kB / 0.9597 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.076e-05/0.1356, allocations: 210.9 kB / 0.9599 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.1356, allocations: 39.67 kB / 0.9599 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.1357, allocations: 43.36 kB / 0.9599 GB, free: 9.852 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1358, allocations: 0.5001 MB / 0.9604 GB, free: 9.34 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.1359, allocations: 11.98 kB / 0.9604 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.136, allocations: 201.6 kB / 0.9606 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.85e-05/0.1361, allocations: 113.4 kB / 0.9607 GB, free: 8.926 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1361, allocations: 0 / 0.9607 GB, free: 8.926 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001381/0.1362, allocations: 121.3 kB / 0.9609 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1362, allocations: 8 kB / 0.9609 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1362, allocations: 0.5312 kB / 0.9609 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1362, allocations: 8 kB / 0.9609 GB, free: 8.785 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.1363, allocations: 35.92 kB / 0.9609 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.1363, allocations: 0 / 0.9609 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.1364, allocations: 15.89 kB / 0.9609 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.1364, allocations: 15.98 kB / 0.9609 GB, free: 8.719 MB / 0.9167 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 8.736e-05/0.1365, allocations: 164.5 kB / 0.9611 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.1366, allocations: 23.84 kB / 0.9611 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.1367, allocations: 78.78 kB / 0.9612 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1367, allocations: 4 kB / 0.9612 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1367, allocations: 11.94 kB / 0.9612 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1367, allocations: 0 / 0.9612 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.1373, allocations: 0.8758 MB / 0.9621 GB, free: 7.492 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1373, allocations: 3.984 kB / 0.9621 GB, free: 7.488 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.1373, allocations: 16 kB / 0.9621 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1373, allocations: 4 kB / 0.9621 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1373, allocations: 0 / 0.9621 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.1373, allocations: 11.92 kB / 0.9621 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1373, allocations: 160 / 0.9621 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.1375, allocations: 298.1 kB / 0.9624 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.1376, allocations: 27.84 kB / 0.9624 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.1376, allocations: 4 kB / 0.9624 GB, free: 7.094 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/0.1376, allocations: 8 kB / 0.9624 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1377, allocations: 11.92 kB / 0.9624 GB, free: 7.074 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1377, allocations: 4 kB / 0.9624 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.712e-05/0.1377, allocations: 172.5 kB / 0.9626 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1377, allocations: 3.938 kB / 0.9626 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002298/0.138, allocations: 63.81 kB / 0.9627 GB, free: 6.836 MB / 0.9167 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.0001727/0.1381, allocations: 135.2 kB / 0.9628 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.1383, allocations: 67.59 kB / 0.9629 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1383, allocations: 0 / 0.9629 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.1383, allocations: 35.59 kB / 0.9629 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1386, allocations: 62.42 kB / 0.963 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/0.1393, allocations: 460.2 kB / 0.9634 GB, free: 6.031 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.942e-05/0.1393, allocations: 87.97 kB / 0.9635 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.364e-05/0.1394, allocations: 25.72 kB / 0.9635 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.1395, allocations: 126.2 kB / 0.9636 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of SimCode: time 9.42e-07/0.1395, allocations: 0 / 0.9636 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of Templates: time 0.005007/0.1445, allocations: 3.011 MB / 0.9666 GB, free: 2.84 MB / 0.9167 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.180735168978572]