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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001626/0.001627, allocations: 105.6 kB / 16.35 MB, free: 6.34 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.001631/0.001631, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.442/2.442, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 61.22 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2805, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7367/1.017, allocations: 179.4 MB / 1.194 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009229/1.027, allocations: 7.829 MB / 1.202 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009993/1.028, allocations: 23.69 kB / 1.202 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008999/1.028, allocations: 241.9 kB / 1.202 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003116/1.032, allocations: 1.225 MB / 1.203 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001869/1.034, allocations: 0.7305 MB / 1.204 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00124/1.035, allocations: 1.079 MB / 1.205 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005461/1.035, allocations: 413.4 kB / 1.205 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/1.038, allocations: 0.8125 MB / 1.206 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005539/1.038, allocations: 440 kB / 1.206 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/1.038, allocations: 36.72 kB / 1.206 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/1.04, allocations: 0.9517 MB / 1.207 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/1.04, allocations: 161 kB / 1.208 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002378/1.04, allocations: 246.9 kB / 1.208 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/1.041, allocations: 0.9378 MB / 1.209 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.041, allocations: 0 / 1.209 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.793e-06/1.041, allocations: 0 / 1.209 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.007e-06/1.041, allocations: 0 / 1.209 GB, free: 2.797 MB / 0.9044 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.001088/1.043, allocations: 0.8029 MB / 1.209 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.043, allocations: 15.53 kB / 1.21 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009034/1.043, allocations: 145.7 kB / 1.21 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005923/1.044, allocations: 416.9 kB / 1.21 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/1.044, allocations: 32.38 kB / 1.21 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/1.044, allocations: 36.78 kB / 1.21 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006787/1.045, allocations: 441.1 kB / 1.211 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/1.045, allocations: 3.625 kB / 1.211 GB, free: 1.367 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/1.045, allocations: 18.34 kB / 1.211 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/1.045, allocations: 14.25 kB / 1.211 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005822/1.046, allocations: 320.1 kB / 1.211 GB, free: 1.199 MB / 0.9044 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.002093/1.048, allocations: 2.007 MB / 1.213 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/1.048, allocations: 237.9 kB / 1.213 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/1.048, allocations: 154.4 kB / 1.213 GB, free: 15.15 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005703/1.049, allocations: 308.7 kB / 1.214 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/1.049, allocations: 32.38 kB / 1.214 GB, free: 14.8 MB / 0.92 GB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/1.049, allocations: 3.938 kB / 1.214 GB, free: 14.79 MB / 0.92 GB Notification: Performance of matching and sorting (n=24): time 0.0009946/1.05, allocations: 458.8 kB / 1.214 GB, free: 14.56 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/1.05, allocations: 53.91 kB / 1.214 GB, free: 14.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/1.05, allocations: 403.6 kB / 1.214 GB, free: 14.25 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/1.05, allocations: 29.7 kB / 1.214 GB, free: 14.21 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/1.051, allocations: 229.4 kB / 1.215 GB, free: 14.01 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/1.051, allocations: 80.91 kB / 1.215 GB, free: 13.94 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-05/1.051, allocations: 56.42 kB / 1.215 GB, free: 13.9 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.051, allocations: 352.5 kB / 1.215 GB, free: 13.55 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/1.051, allocations: 109.6 kB / 1.215 GB, free: 13.5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/1.051, allocations: 180 kB / 1.215 GB, free: 13.38 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/1.052, allocations: 311.5 kB / 1.216 GB, free: 13.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.052, allocations: 0 / 1.216 GB, free: 13.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005839/1.052, allocations: 369.6 kB / 1.216 GB, free: 12.98 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.053, allocations: 7.344 kB / 1.216 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/1.053, allocations: 2.719 kB / 1.216 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.053, allocations: 10.36 kB / 1.216 GB, free: 12.97 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/1.053, allocations: 61.41 kB / 1.216 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/1.053, allocations: 2.375 kB / 1.216 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/1.053, allocations: 40.14 kB / 1.216 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/1.053, allocations: 10.09 kB / 1.216 GB, free: 12.93 MB / 0.92 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.0001782/1.053, allocations: 168.6 kB / 1.216 GB, free: 12.78 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/1.053, allocations: 40.91 kB / 1.216 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/1.054, allocations: 376.8 kB / 1.217 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/1.054, allocations: 2.625 kB / 1.217 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.054, allocations: 0 / 1.217 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.054, allocations: 3.984 kB / 1.217 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/1.055, allocations: 0.9388 MB / 1.218 GB, free: 11.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.055, allocations: 2.406 kB / 1.218 GB, free: 11.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/1.056, allocations: 47.02 kB / 1.218 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.056, allocations: 5.094 kB / 1.218 GB, free: 11.81 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/1.056, allocations: 14.67 kB / 1.218 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.056, allocations: 6.312 kB / 1.218 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.056, allocations: 2.25 kB / 1.218 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000893/1.057, allocations: 0.6235 MB / 1.218 GB, free: 11.37 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/1.057, allocations: 151.2 kB / 1.218 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/1.057, allocations: 6.469 kB / 1.218 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/1.057, allocations: 15.86 kB / 1.219 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/1.057, allocations: 21.52 kB / 1.219 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/1.057, allocations: 4.969 kB / 1.219 GB, free: 11.2 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002491/1.057, allocations: 282.8 kB / 1.219 GB, free: 11.02 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/1.057, allocations: 0 / 1.219 GB, free: 11.02 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000433/1.058, allocations: 121.7 kB / 1.219 GB, free: 10.99 MB / 0.92 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.0003777/1.058, allocations: 176.4 kB / 1.219 GB, free: 10.87 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005435/1.059, allocations: 296.1 kB / 1.219 GB, free: 10.73 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.059, allocations: 0 / 1.219 GB, free: 10.73 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/1.059, allocations: 148.9 kB / 1.22 GB, free: 10.67 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009677/1.06, allocations: 226.6 kB / 1.22 GB, free: 10.55 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/1.061, allocations: 0.7924 MB / 1.221 GB, free: 9.703 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/1.062, allocations: 0.8311 MB / 1.221 GB, free: 8.844 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002613/1.062, allocations: 107.3 kB / 1.221 GB, free: 8.738 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/1.062, allocations: 31.44 kB / 1.221 GB, free: 8.707 MB / 0.92 GB Notification: Performance of SimCode: time 2.81e-07/1.062, allocations: 0 / 1.221 GB, free: 8.707 MB / 0.92 GB Notification: Performance of Templates: time 0.01281/1.075, allocations: 7.597 MB / 1.229 GB, free: 1.238 MB / 0.92 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches