Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001131/0.001131, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002628, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001022/0.001022, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002384, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9271/0.9271, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09191/1.019, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.857/1.857, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4714/2.329, allocations: 123.3 MB / 0.728 GB, free: 5.781 MB / 0.698 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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.341e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1331/0.1331, allocations: 147.3 MB / 0.8732 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1353, allocations: 1.848 MB / 0.875 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.1355, allocations: 27.75 kB / 0.875 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.1358, allocations: 115 kB / 0.8751 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008615/0.1366, allocations: 0.5671 MB / 0.8757 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006928/0.1373, allocations: 0.5182 MB / 0.8762 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007269/0.1381, allocations: 1.052 MB / 0.8772 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007116/0.1388, allocations: 353.9 kB / 0.8775 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008054/0.1396, allocations: 0.6663 MB / 0.8782 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.1399, allocations: 367 kB / 0.8785 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.14, allocations: 40 kB / 0.8786 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.1404, allocations: 359.1 kB / 0.8789 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1405, allocations: 147.6 kB / 0.8791 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.1406, allocations: 143.7 kB / 0.8792 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.1412, allocations: 0.5061 MB / 0.8797 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.1412, allocations: 0 / 0.8797 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1412, allocations: 0 / 0.8797 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.1412, allocations: 0 / 0.8797 GB, free: 10.22 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0007257/0.1419, allocations: 0.7992 MB / 0.8805 GB, free: 9.395 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.1419, allocations: 16.03 kB / 0.8805 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005442/0.1425, allocations: 261.6 kB / 0.8807 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.1428, allocations: 317.4 kB / 0.881 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1428, allocations: 33.12 kB / 0.8811 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.1429, allocations: 43.98 kB / 0.8811 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.1432, allocations: 329.9 kB / 0.8814 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1432, allocations: 0 / 0.8814 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.1432, allocations: 16 kB / 0.8814 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.1432, allocations: 12 kB / 0.8815 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1434, allocations: 109.6 kB / 0.8816 GB, free: 8.211 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009348/0.1443, allocations: 1.169 MB / 0.8827 GB, free: 7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1445, allocations: 156.1 kB / 0.8829 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.1445, allocations: 55.67 kB / 0.8829 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.1447, allocations: 47.94 kB / 0.883 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.1447, allocations: 42.5 kB / 0.883 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 1.302e-06/0.1447, allocations: 0 / 0.883 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.0002931/0.145, allocations: 168.1 kB / 0.8832 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.145, allocations: 55.41 kB / 0.8832 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1452, allocations: 274.9 kB / 0.8835 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1452, allocations: 33.64 kB / 0.8835 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.1453, allocations: 212.8 kB / 0.8837 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.1453, allocations: 91.19 kB / 0.8838 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.1454, allocations: 57.67 kB / 0.8838 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.1455, allocations: 350.7 kB / 0.8842 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.272e-05/0.1455, allocations: 22.83 kB / 0.8842 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/0.1456, allocations: 172.4 kB / 0.8844 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1457, allocations: 150.9 kB / 0.8845 GB, free: 5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1457, allocations: 0 / 0.8845 GB, free: 5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001659/0.1459, allocations: 164.2 kB / 0.8847 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1459, allocations: 4 kB / 0.8847 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1459, allocations: 12.22 kB / 0.8847 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.1459, allocations: 4 kB / 0.8847 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.1461, allocations: 59.91 kB / 0.8847 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1461, allocations: 7.938 kB / 0.8847 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/0.1462, allocations: 31.86 kB / 0.8848 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.1462, allocations: 15.94 kB / 0.8848 GB, free: 4.699 MB / 0.8542 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 (31): * Single equations (assignments): 31 * 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.639e-05/0.1463, allocations: 132.5 kB / 0.8849 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.1463, allocations: 23.97 kB / 0.8849 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.1465, allocations: 167.2 kB / 0.8851 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1465, allocations: 7.984 kB / 0.8851 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1465, allocations: 4 kB / 0.8851 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1465, allocations: 0 / 0.8851 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.147, allocations: 0.5768 MB / 0.8857 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.147, allocations: 4 kB / 0.8857 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.1471, allocations: 55.91 kB / 0.8857 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.1472, allocations: 43.95 kB / 0.8858 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1472, allocations: 11.94 kB / 0.8858 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1472, allocations: 4 kB / 0.8858 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1472, allocations: 7.938 kB / 0.8858 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1472, allocations: 3.984 kB / 0.8858 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.1475, allocations: 391.6 kB / 0.8862 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1475, allocations: 7.938 kB / 0.8862 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.1476, allocations: 8 kB / 0.8862 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.1476, allocations: 19.97 kB / 0.8862 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.1476, allocations: 4 kB / 0.8862 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.972e-05/0.1477, allocations: 108.6 kB / 0.8863 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1477, allocations: 0 / 0.8863 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002354/0.1479, allocations: 123.7 kB / 0.8864 GB, free: 2.902 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.0001705/0.1481, allocations: 116.2 kB / 0.8865 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.1483, allocations: 122 kB / 0.8867 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.1483, allocations: 8.125 kB / 0.8867 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.73e-05/0.1483, allocations: 66.88 kB / 0.8867 GB, free: 2.582 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1487, allocations: 161.5 kB / 0.8869 GB, free: 2.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.1512, allocations: 0.7224 MB / 0.8876 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.92e-05/0.1513, allocations: 120.5 kB / 0.8877 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.1514, allocations: 50.95 kB / 0.8878 GB, free: 1.465 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.1517, allocations: 141.3 kB / 0.8879 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.1517, allocations: 0 / 0.8879 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of Templates: time 0.007729/0.1594, allocations: 6.027 MB / 0.8938 GB, free: 11.45 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.ref.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: 4.925484172999859]