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.001565/0.001565, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.613/2.613, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6945/0.6957, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1999/0.8957, allocations: 179.4 MB / 1.192 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.9074, allocations: 7.824 MB / 1.2 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008484/0.9083, allocations: 19.88 kB / 1.2 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008343/0.9092, allocations: 250.2 kB / 1.2 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003858/0.9131, allocations: 1.217 MB / 1.202 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.915, allocations: 0.7322 MB / 1.202 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.9164, allocations: 1.076 MB / 1.203 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005675/0.917, allocations: 409.4 kB / 1.204 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.9193, allocations: 0.8278 MB / 1.205 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000613/0.9199, allocations: 438.5 kB / 1.205 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.765e-05/0.92, allocations: 36 kB / 1.205 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.9219, allocations: 0.9432 MB / 1.206 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.9221, allocations: 163.5 kB / 1.206 GB, free: 492 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.9224, allocations: 250.8 kB / 1.206 GB, free: 240 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.9237, allocations: 0.9155 MB / 1.207 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.9237, allocations: 4 kB / 1.207 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9237, allocations: 0 / 1.207 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.9238, allocations: 0 / 1.207 GB, free: 15.31 MB / 0.9669 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.001123/0.9249, allocations: 0.8104 MB / 1.208 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.9249, allocations: 11.98 kB / 1.208 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009491/0.9259, allocations: 151.2 kB / 1.208 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.9264, allocations: 387.4 kB / 1.208 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.9265, allocations: 29 kB / 1.209 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.9265, allocations: 40 kB / 1.209 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006884/0.9272, allocations: 446.4 kB / 1.209 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.9273, allocations: 0 / 1.209 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.9273, allocations: 19.94 kB / 1.209 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.9273, allocations: 12 kB / 1.209 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006518/0.928, allocations: 319.7 kB / 1.209 GB, free: 13 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.002144/0.9301, allocations: 2.027 MB / 1.211 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.9306, allocations: 235.8 kB / 1.212 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.9308, allocations: 149.8 kB / 1.212 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006323/0.9315, allocations: 303.2 kB / 1.212 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.9315, allocations: 46.44 kB / 1.212 GB, free: 10 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.9315, allocations: 0 / 1.212 GB, free: 10 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24): time 0.001061/0.9326, allocations: 450.9 kB / 1.212 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.9327, allocations: 55.41 kB / 1.212 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.9331, allocations: 401.9 kB / 1.213 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.9331, allocations: 29.7 kB / 1.213 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.9333, allocations: 228.3 kB / 1.213 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/0.9334, allocations: 86.8 kB / 1.213 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.74e-05/0.9335, allocations: 53.64 kB / 1.213 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.9337, allocations: 354.7 kB / 1.214 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.9339, allocations: 115.9 kB / 1.214 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.9342, allocations: 186.7 kB / 1.214 GB, free: 8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/0.9347, allocations: 300.6 kB / 1.214 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.9347, allocations: 4 kB / 1.214 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006259/0.9354, allocations: 369.3 kB / 1.215 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.9354, allocations: 7.984 kB / 1.215 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9354, allocations: 4 kB / 1.215 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.9354, allocations: 0 / 1.215 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.9357, allocations: 59.91 kB / 1.215 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.9357, allocations: 224 / 1.215 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.936, allocations: 47.61 kB / 1.215 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.936, allocations: 12 kB / 1.215 GB, free: 7.184 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.0001629/0.9362, allocations: 167 kB / 1.215 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.9363, allocations: 39.53 kB / 1.215 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007305/0.937, allocations: 370.9 kB / 1.215 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.937, allocations: 8 kB / 1.215 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.937, allocations: 0 / 1.215 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.937, allocations: 3.984 kB / 1.215 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.9384, allocations: 0.9302 MB / 1.216 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9385, allocations: 4 kB / 1.216 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.9387, allocations: 47.92 kB / 1.216 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.9387, allocations: 7.938 kB / 1.216 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.9388, allocations: 7.984 kB / 1.216 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.9388, allocations: 4 kB / 1.216 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9388, allocations: 3.938 kB / 1.216 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009355/0.9397, allocations: 0.628 MB / 1.217 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.9399, allocations: 152.5 kB / 1.217 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.94, allocations: 8 kB / 1.217 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.9402, allocations: 7.984 kB / 1.217 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/0.9403, allocations: 23.92 kB / 1.217 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.9403, allocations: 8 kB / 1.217 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002687/0.9406, allocations: 287.2 kB / 1.217 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9406, allocations: 7.875 kB / 1.217 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004618/0.941, allocations: 115.8 kB / 1.217 GB, free: 4.238 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.0003978/0.9414, allocations: 169.2 kB / 1.218 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006082/0.9421, allocations: 307.6 kB / 1.218 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9421, allocations: 4 kB / 1.218 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.9423, allocations: 146 kB / 1.218 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.9434, allocations: 220.6 kB / 1.218 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.9447, allocations: 0.8195 MB / 1.219 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.945, allocations: 0.835 MB / 1.22 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002915/0.9453, allocations: 95.41 kB / 1.22 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.99e-05/0.9454, allocations: 35.42 kB / 1.22 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.9454, allocations: 3.938 kB / 1.22 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of Templates: time 0.01415/0.9596, allocations: 7.596 MB / 1.227 GB, free: 10.07 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=480 -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