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.001553/0.001553, allocations: 106.5 kB / 16.27 MB, free: 6.414 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.00178/0.00178, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.515/1.515, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.557/2.557, allocations: 437 MB / 0.711 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 64.84 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.322, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7738/1.096, allocations: 179.4 MB / 1.193 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009608/1.106, allocations: 7.835 MB / 1.201 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006603/1.106, allocations: 19.41 kB / 1.201 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007625/1.107, allocations: 245 kB / 1.201 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003263/1.11, allocations: 1.223 MB / 1.202 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/1.112, allocations: 0.7243 MB / 1.203 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001481/1.114, allocations: 1.087 MB / 1.204 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007368/1.114, allocations: 398.2 kB / 1.204 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/1.117, allocations: 0.8287 MB / 1.205 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007509/1.118, allocations: 434 kB / 1.206 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.735e-05/1.118, allocations: 38.12 kB / 1.206 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/1.12, allocations: 0.9468 MB / 1.207 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002104/1.12, allocations: 157.5 kB / 1.207 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003468/1.12, allocations: 251.3 kB / 1.207 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/1.122, allocations: 0.9187 MB / 1.208 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/1.122, allocations: 6.234 kB / 1.208 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.803e-06/1.122, allocations: 0 / 1.208 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.154e-05/1.122, allocations: 0 / 1.208 GB, free: 3.188 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.00111/1.123, allocations: 0.8013 MB / 1.209 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/1.123, allocations: 14.38 kB / 1.209 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009195/1.124, allocations: 156.3 kB / 1.209 GB, free: 2.434 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/1.125, allocations: 384.6 kB / 1.209 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/1.125, allocations: 28.09 kB / 1.209 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/1.125, allocations: 37.22 kB / 1.209 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006852/1.125, allocations: 450.4 kB / 1.21 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/1.125, allocations: 0 / 1.21 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/1.126, allocations: 13.97 kB / 1.21 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/1.126, allocations: 14.16 kB / 1.21 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005617/1.126, allocations: 324.3 kB / 1.21 GB, free: 1.602 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.001962/1.128, allocations: 2.021 MB / 1.212 GB, free: 15.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/1.128, allocations: 239.1 kB / 1.212 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/1.129, allocations: 152.9 kB / 1.212 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005819/1.129, allocations: 302.7 kB / 1.213 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/1.129, allocations: 42.55 kB / 1.213 GB, free: 15.19 MB / 0.92 GB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/1.129, allocations: 0 / 1.213 GB, free: 15.19 MB / 0.92 GB Notification: Performance of matching and sorting (n=24): time 0.000971/1.13, allocations: 452.2 kB / 1.213 GB, free: 14.96 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/1.13, allocations: 58.12 kB / 1.213 GB, free: 14.9 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/1.131, allocations: 404.6 kB / 1.214 GB, free: 14.64 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/1.131, allocations: 29.7 kB / 1.214 GB, free: 14.61 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/1.131, allocations: 226.8 kB / 1.214 GB, free: 14.4 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/1.131, allocations: 81.23 kB / 1.214 GB, free: 14.33 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/1.131, allocations: 62.36 kB / 1.214 GB, free: 14.29 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.131, allocations: 350.7 kB / 1.214 GB, free: 13.95 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/1.132, allocations: 113.5 kB / 1.214 GB, free: 13.89 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/1.132, allocations: 186.2 kB / 1.215 GB, free: 13.76 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/1.132, allocations: 305.6 kB / 1.215 GB, free: 13.56 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.132, allocations: 0 / 1.215 GB, free: 13.56 MB / 0.92 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005996/1.133, allocations: 373.5 kB / 1.215 GB, free: 13.36 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.133, allocations: 7.625 kB / 1.215 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.133, allocations: 0 / 1.215 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.133, allocations: 4.844 kB / 1.215 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/1.133, allocations: 54.84 kB / 1.215 GB, free: 13.35 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/1.133, allocations: 5.906 kB / 1.215 GB, free: 13.35 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/1.133, allocations: 44.42 kB / 1.215 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/1.134, allocations: 14.47 kB / 1.215 GB, free: 13.32 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.0001737/1.134, allocations: 165.5 kB / 1.215 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/1.134, allocations: 39.66 kB / 1.216 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006779/1.134, allocations: 373 kB / 1.216 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.134, allocations: 2.906 kB / 1.216 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.134, allocations: 8 kB / 1.216 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.135, allocations: 3.984 kB / 1.216 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/1.136, allocations: 0.9308 MB / 1.217 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/1.136, allocations: 2.688 kB / 1.217 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/1.136, allocations: 47.16 kB / 1.217 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/1.136, allocations: 2.219 kB / 1.217 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/1.136, allocations: 12.56 kB / 1.217 GB, free: 12.19 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/1.136, allocations: 2.812 kB / 1.217 GB, free: 12.19 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.136, allocations: 3 kB / 1.217 GB, free: 12.19 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008761/1.137, allocations: 0.6289 MB / 1.217 GB, free: 11.76 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/1.137, allocations: 155.1 kB / 1.218 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/1.137, allocations: 9.344 kB / 1.218 GB, free: 11.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/1.137, allocations: 12.8 kB / 1.218 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/1.138, allocations: 11.83 kB / 1.218 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/1.138, allocations: 15.56 kB / 1.218 GB, free: 11.59 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002556/1.138, allocations: 285.6 kB / 1.218 GB, free: 11.41 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/1.138, allocations: 6.812 kB / 1.218 GB, free: 11.41 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004497/1.138, allocations: 112 kB / 1.218 GB, free: 11.39 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.0003654/1.139, allocations: 167.8 kB / 1.218 GB, free: 11.27 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005796/1.139, allocations: 304 kB / 1.219 GB, free: 11.13 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.139, allocations: 0 / 1.219 GB, free: 11.13 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/1.14, allocations: 146.5 kB / 1.219 GB, free: 11.07 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/1.141, allocations: 230.5 kB / 1.219 GB, free: 10.95 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/1.142, allocations: 0.85 MB / 1.22 GB, free: 10.23 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/1.142, allocations: 0.8311 MB / 1.221 GB, free: 9.375 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/1.142, allocations: 39.42 kB / 1.221 GB, free: 9.336 MB / 0.92 GB Notification: Performance of SimCode: time 2.1e-07/1.142, allocations: 0 / 1.221 GB, free: 9.336 MB / 0.92 GB Notification: Performance of Templates: time 0.00991/1.152, allocations: 6.801 MB / 1.227 GB, free: 2.617 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 -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