Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009182/0.0009182, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.0009341/0.0009341, allocations: 170 kB / 23.28 MB, free: 1.219 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.9856/0.9856, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.299/2.299, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.675e-05, allocations: 9.203 kB / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.121/0.121, allocations: 144.7 MB / 1.031 GB, free: 8.527 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002711/0.1237, allocations: 1.779 MB / 1.033 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.1242, allocations: 27.81 kB / 1.033 GB, free: 6.719 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.1246, allocations: 115 kB / 1.033 GB, free: 6.605 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.1258, allocations: 0.5632 MB / 1.033 GB, free: 6.039 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.1269, allocations: 0.5221 MB / 1.034 GB, free: 5.516 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.128, allocations: 1.04 MB / 1.035 GB, free: 4.473 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/0.1285, allocations: 325.6 kB / 1.035 GB, free: 4.148 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.1299, allocations: 0.653 MB / 1.036 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000522/0.1304, allocations: 395 kB / 1.036 GB, free: 3.145 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/0.1304, allocations: 40 kB / 1.036 GB, free: 3.105 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006114/0.1311, allocations: 351.1 kB / 1.037 GB, free: 2.762 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.1313, allocations: 171.5 kB / 1.037 GB, free: 2.594 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.1315, allocations: 171.6 kB / 1.037 GB, free: 2.426 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008198/0.1323, allocations: 0.5645 MB / 1.038 GB, free: 1.859 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1323, allocations: 0 / 1.038 GB, free: 1.859 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1323, allocations: 3.938 kB / 1.038 GB, free: 1.855 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1323, allocations: 0 / 1.038 GB, free: 1.855 MB / 0.9948 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.0007411/0.1331, allocations: 0.7952 MB / 1.038 GB, free: 1.023 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1331, allocations: 12.62 kB / 1.038 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005584/0.1337, allocations: 204.3 kB / 1.039 GB, free: 0.8125 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.1341, allocations: 338.8 kB / 1.039 GB, free: 464 kB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.1341, allocations: 37.12 kB / 1.039 GB, free: 428 kB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.1341, allocations: 36 kB / 1.039 GB, free: 392 kB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003284/0.1344, allocations: 338.9 kB / 1.039 GB, free: 16 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1345, allocations: 3.938 kB / 1.039 GB, free: 12 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.1345, allocations: 12.08 kB / 1.039 GB, free: 16 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1345, allocations: 12 kB / 1.039 GB, free: 15.98 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1346, allocations: 118.8 kB / 1.039 GB, free: 15.87 MB / 1.01 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.001183/0.1358, allocations: 1.622 MB / 1.041 GB, free: 14.19 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.136, allocations: 130.9 kB / 1.041 GB, free: 14.05 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.136, allocations: 51.66 kB / 1.041 GB, free: 14 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/0.1363, allocations: 59.88 kB / 1.041 GB, free: 13.94 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1363, allocations: 41.39 kB / 1.041 GB, free: 13.89 MB / 1.01 GB Notification: Performance of pre-optimization done (n=24): time 3.286e-06/0.1363, allocations: 0 / 1.041 GB, free: 13.89 MB / 1.01 GB Notification: Performance of matching and sorting (n=24): time 0.0003789/0.1367, allocations: 225.6 kB / 1.041 GB, free: 13.66 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.1367, allocations: 55.41 kB / 1.042 GB, free: 13.6 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1369, allocations: 326.1 kB / 1.042 GB, free: 13.27 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1369, allocations: 29.7 kB / 1.042 GB, free: 13.23 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.137, allocations: 286.9 kB / 1.042 GB, free: 12.95 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.1371, allocations: 87.27 kB / 1.042 GB, free: 12.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.1371, allocations: 67.27 kB / 1.042 GB, free: 12.79 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1373, allocations: 0.5156 MB / 1.043 GB, free: 12.26 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.895e-05/0.1373, allocations: 35.95 kB / 1.043 GB, free: 12.22 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1374, allocations: 202.5 kB / 1.043 GB, free: 11.97 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1376, allocations: 161.4 kB / 1.043 GB, free: 11.78 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1376, allocations: 4 kB / 1.043 GB, free: 11.78 MB / 1.01 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002351/0.1378, allocations: 208.2 kB / 1.043 GB, free: 11.57 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1378, allocations: 8.031 kB / 1.043 GB, free: 11.56 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1378, allocations: 4 kB / 1.043 GB, free: 11.56 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1379, allocations: 3.984 kB / 1.043 GB, free: 11.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.138, allocations: 55.92 kB / 1.043 GB, free: 11.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.138, allocations: 4 kB / 1.043 GB, free: 11.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.1381, allocations: 31.75 kB / 1.043 GB, free: 11.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.1381, allocations: 8 kB / 1.043 GB, free: 11.46 MB / 1.01 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 0.0001246/0.1383, allocations: 168.5 kB / 1.044 GB, free: 11.28 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.1383, allocations: 43.77 kB / 1.044 GB, free: 11.24 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.1386, allocations: 204.6 kB / 1.044 GB, free: 11.02 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1386, allocations: 8 kB / 1.044 GB, free: 11.01 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.1386, allocations: 0 / 1.044 GB, free: 11.01 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1386, allocations: 3.938 kB / 1.044 GB, free: 11.01 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006699/0.1393, allocations: 0.6261 MB / 1.045 GB, free: 10.32 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1393, allocations: 4 kB / 1.045 GB, free: 10.32 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.1394, allocations: 56.12 kB / 1.045 GB, free: 10.26 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1394, allocations: 0 / 1.045 GB, free: 10.26 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1394, allocations: 7.938 kB / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1394, allocations: 4 kB / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.1394, allocations: 4 kB / 1.045 GB, free: 10.25 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.1398, allocations: 428.3 kB / 1.045 GB, free: 9.781 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.1398, allocations: 55.66 kB / 1.045 GB, free: 9.727 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.1399, allocations: 8 kB / 1.045 GB, free: 9.719 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.14, allocations: 11.98 kB / 1.045 GB, free: 9.707 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.14, allocations: 27.94 kB / 1.045 GB, free: 9.68 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.14, allocations: 8 kB / 1.045 GB, free: 9.672 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001616/0.1402, allocations: 206.9 kB / 1.045 GB, free: 9.473 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1402, allocations: 0 / 1.045 GB, free: 9.473 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003855/0.1406, allocations: 127.7 kB / 1.045 GB, free: 9.348 MB / 1.01 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.0002843/0.1408, allocations: 143.1 kB / 1.046 GB, free: 9.199 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.1411, allocations: 135.5 kB / 1.046 GB, free: 9.062 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1411, allocations: 0 / 1.046 GB, free: 9.062 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.1412, allocations: 75.52 kB / 1.046 GB, free: 8.984 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005588/0.1418, allocations: 127.1 kB / 1.046 GB, free: 8.863 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1431, allocations: 0.728 MB / 1.047 GB, free: 8.074 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.1432, allocations: 116.6 kB / 1.047 GB, free: 7.941 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.1434, allocations: 54.95 kB / 1.047 GB, free: 7.887 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/0.1438, allocations: 174.1 kB / 1.047 GB, free: 7.715 MB / 1.01 GB Notification: Performance of SimCode: time 1.423e-06/0.1438, allocations: 0 / 1.047 GB, free: 7.715 MB / 1.01 GB Notification: Performance of Templates: time 0.009341/0.1532, allocations: 5.788 MB / 1.053 GB, free: 2.062 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.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: 6.103228240739554]