Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001396/0.001396, allocations: 101.2 kB / 16.27 MB, free: 6.418 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.00147/0.00147, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.327/1.327, 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 9.1.3-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 74.16 kB / 0.8132 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2722, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.7362/1.008, allocations: 179.4 MB / 1.125 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01012/1.019, allocations: 7.823 MB / 1.133 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/1.02, allocations: 19 kB / 1.133 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008873/1.021, allocations: 249.1 kB / 1.133 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004557/1.025, allocations: 1.226 MB / 1.135 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002518/1.028, allocations: 0.7298 MB / 1.135 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002139/1.03, allocations: 1.077 MB / 1.136 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007172/1.031, allocations: 408.7 kB / 1.137 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/1.033, allocations: 0.8191 MB / 1.138 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007392/1.034, allocations: 432.6 kB / 1.138 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.874e-05/1.034, allocations: 37.25 kB / 1.138 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/1.036, allocations: 0.9458 MB / 1.139 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/1.037, allocations: 156.8 kB / 1.139 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003556/1.037, allocations: 251.5 kB / 1.139 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001697/1.039, allocations: 0.9249 MB / 1.14 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.039, allocations: 3.562 kB / 1.14 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.875e-06/1.039, allocations: 1.156 kB / 1.14 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.039, allocations: 0 / 1.14 GB, free: 4.504 MB / 0.8575 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.00131/1.04, allocations: 0.8029 MB / 1.141 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.04, allocations: 12.16 kB / 1.141 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/1.041, allocations: 148.5 kB / 1.141 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/1.042, allocations: 390 kB / 1.141 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/1.042, allocations: 31.62 kB / 1.142 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/1.042, allocations: 38.12 kB / 1.142 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/1.042, allocations: 445.3 kB / 1.142 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.042, allocations: 3.281 kB / 1.142 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/1.043, allocations: 13.34 kB / 1.142 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/1.043, allocations: 18.28 kB / 1.142 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/1.043, allocations: 319.7 kB / 1.142 GB, free: 19.56 MB / 0.8731 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.002065/1.045, allocations: 2.031 MB / 1.144 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/1.046, allocations: 232.9 kB / 1.145 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/1.046, allocations: 151.3 kB / 1.145 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006052/1.047, allocations: 318.2 kB / 1.145 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/1.047, allocations: 35.66 kB / 1.145 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=24): time 1.984e-06/1.047, allocations: 0 / 1.145 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24): time 0.0009953/1.048, allocations: 452 kB / 1.145 GB, free: 17.76 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/1.048, allocations: 59.06 kB / 1.145 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/1.048, allocations: 395.3 kB / 1.146 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/1.048, allocations: 31.48 kB / 1.146 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/1.048, allocations: 228.2 kB / 1.146 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/1.048, allocations: 89.06 kB / 1.146 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/1.048, allocations: 55.98 kB / 1.146 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.049, allocations: 355.1 kB / 1.147 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/1.049, allocations: 113.3 kB / 1.147 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/1.049, allocations: 192.3 kB / 1.147 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/1.05, allocations: 297.2 kB / 1.147 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.05, allocations: 3.938 kB / 1.147 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006219/1.05, allocations: 363.4 kB / 1.148 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/1.05, allocations: 6.688 kB / 1.148 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.05, allocations: 5.5 kB / 1.148 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.05, allocations: 3.094 kB / 1.148 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/1.051, allocations: 57.25 kB / 1.148 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.051, allocations: 8.812 kB / 1.148 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/1.051, allocations: 45.56 kB / 1.148 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/1.051, allocations: 9.875 kB / 1.148 GB, free: 16.79 MB / 0.8731 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.0001788/1.051, allocations: 167.8 kB / 1.148 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-05/1.051, allocations: 41.45 kB / 1.148 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006866/1.052, allocations: 374.9 kB / 1.148 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/1.052, allocations: 3.438 kB / 1.148 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.052, allocations: 0 / 1.148 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.052, allocations: 0 / 1.148 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/1.053, allocations: 0.9335 MB / 1.149 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.053, allocations: 4.516 kB / 1.149 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/1.054, allocations: 49.59 kB / 1.149 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/1.054, allocations: 6.594 kB / 1.149 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/1.054, allocations: 11.69 kB / 1.149 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/1.054, allocations: 3.5 kB / 1.149 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.054, allocations: 9.547 kB / 1.149 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009988/1.055, allocations: 0.6227 MB / 1.15 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/1.055, allocations: 155.4 kB / 1.15 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/1.055, allocations: 6.719 kB / 1.15 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/1.055, allocations: 11.89 kB / 1.15 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/1.055, allocations: 25.44 kB / 1.15 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/1.055, allocations: 8.594 kB / 1.15 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002927/1.055, allocations: 284.4 kB / 1.15 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.51e-07/1.055, allocations: 0 / 1.15 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005326/1.056, allocations: 104.8 kB / 1.15 GB, free: 15.75 MB / 0.8731 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.0004311/1.056, allocations: 190 kB / 1.151 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006317/1.057, allocations: 302.7 kB / 1.151 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.057, allocations: 0 / 1.151 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/1.057, allocations: 154.2 kB / 1.151 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/1.058, allocations: 219.3 kB / 1.151 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/1.06, allocations: 0.8402 MB / 1.152 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/1.06, allocations: 0.8261 MB / 1.153 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/1.06, allocations: 45.33 kB / 1.153 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/1.06, allocations: 0 / 1.153 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of Templates: time 0.01251/1.073, allocations: 6.787 MB / 1.16 GB, free: 13.78 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches