Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001386, allocations: 194.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.836/2.836, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 63.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6883/0.6904, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2191/0.9096, allocations: 177 MB / 1.19 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.9207, allocations: 7.761 MB / 1.197 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008489/0.9216, allocations: 19.88 kB / 1.197 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008524/0.9224, allocations: 206.8 kB / 1.197 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003714/0.9262, allocations: 1.144 MB / 1.199 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.9283, allocations: 0.6812 MB / 1.199 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001859/0.9302, allocations: 1.079 MB / 1.2 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006485/0.9308, allocations: 389.4 kB / 1.201 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.9339, allocations: 0.8362 MB / 1.202 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008614/0.9347, allocations: 458.3 kB / 1.202 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.564e-05/0.9348, allocations: 36 kB / 1.202 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.9369, allocations: 0.9819 MB / 1.203 GB, free: 3.426 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.9372, allocations: 167.5 kB / 1.203 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003776/0.9376, allocations: 238.8 kB / 1.203 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.9395, allocations: 0.9893 MB / 1.204 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.9395, allocations: 4 kB / 1.204 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9396, allocations: 0 / 1.204 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.9396, allocations: 3.938 kB / 1.204 GB, free: 2.027 MB / 0.9512 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.001417/0.941, allocations: 0.7987 MB / 1.205 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.9411, allocations: 15.98 kB / 1.205 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.9421, allocations: 155.2 kB / 1.205 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.9427, allocations: 379.3 kB / 1.206 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.9427, allocations: 29 kB / 1.206 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.9428, allocations: 36 kB / 1.206 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.9436, allocations: 454.4 kB / 1.206 GB, free: 60 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.9436, allocations: 0 / 1.206 GB, free: 60 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.9437, allocations: 19.94 kB / 1.206 GB, free: 40 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.9437, allocations: 11.98 kB / 1.206 GB, free: 28 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006971/0.9444, allocations: 327.7 kB / 1.206 GB, free: 15.71 MB / 0.9669 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.002451/0.9469, allocations: 2.004 MB / 1.208 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/0.9473, allocations: 242.4 kB / 1.209 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.9476, allocations: 152.8 kB / 1.209 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006497/0.9483, allocations: 295.2 kB / 1.209 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.9483, allocations: 42.55 kB / 1.209 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.9483, allocations: 0 / 1.209 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24): time 0.001162/0.9495, allocations: 459.3 kB / 1.21 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.9495, allocations: 51.41 kB / 1.21 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.95, allocations: 398 kB / 1.21 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.9501, allocations: 37.7 kB / 1.21 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.9503, allocations: 228.3 kB / 1.21 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.985e-05/0.9504, allocations: 82.73 kB / 1.21 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.9505, allocations: 61.61 kB / 1.21 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002386/0.9507, allocations: 354.7 kB / 1.211 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.951, allocations: 107.9 kB / 1.211 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.9514, allocations: 186.8 kB / 1.211 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000609/0.952, allocations: 307.9 kB / 1.211 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.952, allocations: 0 / 1.211 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007008/0.9527, allocations: 365.6 kB / 1.212 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.9527, allocations: 11.98 kB / 1.212 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.9527, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.9528, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.9531, allocations: 55.91 kB / 1.212 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.9531, allocations: 4 kB / 1.212 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.9534, allocations: 55.8 kB / 1.212 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.9535, allocations: 15.98 kB / 1.212 GB, free: 9.898 MB / 0.9669 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.0001983/0.9537, allocations: 165.7 kB / 1.212 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.9538, allocations: 39.44 kB / 1.212 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007641/0.9545, allocations: 370.8 kB / 1.212 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.9546, allocations: 8 kB / 1.212 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9546, allocations: 0 / 1.212 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.9546, allocations: 0 / 1.212 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.9562, allocations: 0.9393 MB / 1.213 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.9562, allocations: 11.97 kB / 1.213 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.9564, allocations: 43.92 kB / 1.213 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.9565, allocations: 3.938 kB / 1.213 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.9565, allocations: 12 kB / 1.213 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.9565, allocations: 7.984 kB / 1.213 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.9565, allocations: 4 kB / 1.213 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.9576, allocations: 0.6228 MB / 1.214 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.9577, allocations: 152.5 kB / 1.214 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.9578, allocations: 8 kB / 1.214 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.9581, allocations: 19.98 kB / 1.214 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.9582, allocations: 24.03 kB / 1.214 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.9582, allocations: 8 kB / 1.214 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003255/0.9585, allocations: 287.1 kB / 1.214 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9585, allocations: 0 / 1.214 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004838/0.959, allocations: 115.7 kB / 1.215 GB, free: 6.938 MB / 0.9669 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.0005201/0.9595, allocations: 167.5 kB / 1.215 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006587/0.9602, allocations: 293.4 kB / 1.215 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9602, allocations: 0 / 1.215 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.9605, allocations: 154.1 kB / 1.215 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.9617, allocations: 232 kB / 1.215 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.9632, allocations: 0.9562 MB / 1.216 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.9637, allocations: 0.8233 MB / 1.217 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003388/0.964, allocations: 99.41 kB / 1.217 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.9641, allocations: 39.44 kB / 1.217 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.9642, allocations: 0 / 1.217 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of Templates: time 0.015/0.9792, allocations: 7.5 MB / 1.225 GB, free: 12.74 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches