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.0009448/0.0009448, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007745/0.007745, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.594/2.594, allocations: 390.9 MB / 0.6663 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 8 kB / 0.8159 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7595/0.7599, allocations: 142.4 MB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2143/0.9742, allocations: 174.9 MB / 1.126 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.9845, allocations: 7.746 MB / 1.133 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00071/0.9853, allocations: 11.94 kB / 1.133 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008986/0.9862, allocations: 194.8 kB / 1.134 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00406/0.9903, allocations: 1.144 MB / 1.135 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.9923, allocations: 0.6691 MB / 1.135 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002058/0.9944, allocations: 1.54 MB / 1.137 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000687/0.9951, allocations: 337.9 kB / 1.137 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003022/0.9982, allocations: 0.7519 MB / 1.138 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008548/0.999, allocations: 442.3 kB / 1.138 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.779e-05/0.9991, allocations: 24 kB / 1.138 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/1.001, allocations: 1.083 MB / 1.139 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002031/1.001, allocations: 147.5 kB / 1.14 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003617/1.002, allocations: 252.5 kB / 1.14 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/1.003, allocations: 0.9658 MB / 1.141 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.003, allocations: 0 / 1.141 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.485e-06/1.003, allocations: 0 / 1.141 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.135e-06/1.003, allocations: 0 / 1.141 GB, free: 0.5273 MB / 0.8887 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.005, allocations: 0.7286 MB / 1.141 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.005, allocations: 12.03 kB / 1.141 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009505/1.006, allocations: 155.2 kB / 1.142 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/1.006, allocations: 379.3 kB / 1.142 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/1.006, allocations: 29 kB / 1.142 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.937e-05/1.006, allocations: 47.92 kB / 1.142 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/1.007, allocations: 458.4 kB / 1.142 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/1.007, allocations: 7.938 kB / 1.142 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/1.007, allocations: 19.94 kB / 1.142 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/1.007, allocations: 8 kB / 1.142 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006176/1.008, allocations: 327.8 kB / 1.143 GB, free: 14.27 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.002174/1.01, allocations: 2.015 MB / 1.145 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/1.01, allocations: 234.5 kB / 1.145 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/1.011, allocations: 161.1 kB / 1.145 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000651/1.011, allocations: 327.1 kB / 1.145 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.011, allocations: 34.56 kB / 1.145 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/1.011, allocations: 0 / 1.145 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001103/1.012, allocations: 471.1 kB / 1.146 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/1.012, allocations: 55.41 kB / 1.146 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/1.013, allocations: 397.9 kB / 1.146 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/1.013, allocations: 25.7 kB / 1.146 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/1.013, allocations: 236.2 kB / 1.147 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/1.013, allocations: 82.81 kB / 1.147 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/1.013, allocations: 29.7 kB / 1.147 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.013, allocations: 354.7 kB / 1.147 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/1.014, allocations: 119.9 kB / 1.147 GB, free: 9.477 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/1.014, allocations: 191.3 kB / 1.147 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005219/1.014, allocations: 317.1 kB / 1.148 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.014, allocations: 0 / 1.148 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006684/1.015, allocations: 368.8 kB / 1.148 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.015, allocations: 15.92 kB / 1.148 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.015, allocations: 224 / 1.148 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.015, allocations: 8 kB / 1.148 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/1.015, allocations: 59.91 kB / 1.148 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.015, allocations: 4 kB / 1.148 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/1.016, allocations: 55.45 kB / 1.148 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/1.016, allocations: 23.98 kB / 1.148 GB, free: 8.402 MB / 0.9044 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.0001871/1.016, allocations: 161.8 kB / 1.148 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/1.016, allocations: 43.52 kB / 1.148 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000758/1.017, allocations: 378.2 kB / 1.149 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/1.017, allocations: 4 kB / 1.149 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.017, allocations: 3.938 kB / 1.149 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.017, allocations: 0 / 1.149 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/1.018, allocations: 0.9473 MB / 1.15 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.018, allocations: 4 kB / 1.15 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/1.019, allocations: 56.12 kB / 1.15 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.019, allocations: 7.938 kB / 1.15 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/1.019, allocations: 4 kB / 1.15 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/1.019, allocations: 7.984 kB / 1.15 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.019, allocations: 3.938 kB / 1.15 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009854/1.02, allocations: 0.6467 MB / 1.15 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/1.02, allocations: 152.5 kB / 1.151 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/1.02, allocations: 8 kB / 1.151 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/1.02, allocations: 23.98 kB / 1.151 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/1.02, allocations: 23.97 kB / 1.151 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/1.02, allocations: 8 kB / 1.151 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002912/1.021, allocations: 283.1 kB / 1.151 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.31e-07/1.021, allocations: 0 / 1.151 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004797/1.021, allocations: 111.8 kB / 1.151 GB, free: 5.41 MB / 0.9044 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.0004209/1.022, allocations: 167.2 kB / 1.151 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006338/1.022, allocations: 300.9 kB / 1.151 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.022, allocations: 8 kB / 1.151 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/1.022, allocations: 153.2 kB / 1.152 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/1.024, allocations: 222 kB / 1.152 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/1.025, allocations: 0.9762 MB / 1.153 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/1.026, allocations: 0.8314 MB / 1.154 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003311/1.026, allocations: 103.4 kB / 1.154 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.464e-05/1.026, allocations: 35.44 kB / 1.154 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of SimCode: time 7.12e-07/1.026, allocations: 0 / 1.154 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of Templates: time 0.01348/1.039, allocations: 7.211 MB / 1.161 GB, free: 11.46 MB / 0.92 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches