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.001665/0.001665, allocations: 108 kB / 15.6 MB, free: 132 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.002217/0.002217, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.334/2.334, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 63.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7421/0.744, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2123/0.9564, allocations: 179.4 MB / 1.125 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008949/0.9654, allocations: 7.826 MB / 1.132 GB, free: 6 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000598/0.966, allocations: 15.94 kB / 1.132 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.9667, allocations: 250.2 kB / 1.133 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00275/0.9695, allocations: 1.229 MB / 1.134 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.9711, allocations: 0.724 MB / 1.135 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.9723, allocations: 1.076 MB / 1.136 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005324/0.9728, allocations: 405.4 kB / 1.136 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.9749, allocations: 0.829 MB / 1.137 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005876/0.9755, allocations: 438.4 kB / 1.137 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.003e-05/0.9756, allocations: 43.94 kB / 1.137 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.9773, allocations: 0.9432 MB / 1.138 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.9775, allocations: 155.6 kB / 1.138 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.9777, allocations: 246.8 kB / 1.139 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.9791, allocations: 0.9233 MB / 1.139 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9791, allocations: 7.984 kB / 1.139 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.875e-06/0.9791, allocations: 4 kB / 1.139 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.9791, allocations: 3.938 kB / 1.14 GB, free: 14.73 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.001135/0.9803, allocations: 0.7961 MB / 1.14 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.9803, allocations: 12.03 kB / 1.14 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008957/0.9812, allocations: 151.3 kB / 1.14 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005104/0.9818, allocations: 387.2 kB / 1.141 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.9818, allocations: 29 kB / 1.141 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.9819, allocations: 40 kB / 1.141 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006922/0.9826, allocations: 446.4 kB / 1.141 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.9826, allocations: 0 / 1.141 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.9826, allocations: 19.94 kB / 1.141 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.9827, allocations: 8 kB / 1.141 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005676/0.9832, allocations: 327.8 kB / 1.142 GB, free: 12.43 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.002024/0.9853, allocations: 2.015 MB / 1.144 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.9857, allocations: 238.4 kB / 1.144 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.9859, allocations: 153.2 kB / 1.144 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006095/0.9866, allocations: 315.1 kB / 1.144 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.9866, allocations: 34.56 kB / 1.144 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.9866, allocations: 0 / 1.144 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001001/0.9876, allocations: 450.1 kB / 1.145 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.9877, allocations: 63.28 kB / 1.145 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.988, allocations: 401.9 kB / 1.145 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.9881, allocations: 33.7 kB / 1.145 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.9882, allocations: 228.3 kB / 1.145 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.9883, allocations: 78.81 kB / 1.146 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/0.9884, allocations: 57.7 kB / 1.146 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.9885, allocations: 350.7 kB / 1.146 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.9888, allocations: 111.9 kB / 1.146 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.989, allocations: 183.3 kB / 1.146 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.9896, allocations: 308.5 kB / 1.146 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.9896, allocations: 3.938 kB / 1.146 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006439/0.9902, allocations: 366.6 kB / 1.147 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.9902, allocations: 8 kB / 1.147 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.9903, allocations: 4 kB / 1.147 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.9903, allocations: 8.219 kB / 1.147 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.9906, allocations: 55.91 kB / 1.147 GB, free: 6.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.9906, allocations: 4 kB / 1.147 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.9908, allocations: 47.52 kB / 1.147 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.9908, allocations: 12 kB / 1.147 GB, free: 6.617 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.0001723/0.991, allocations: 165.7 kB / 1.147 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.9911, allocations: 35.53 kB / 1.147 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006858/0.9918, allocations: 374.4 kB / 1.148 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.9918, allocations: 4 kB / 1.148 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9918, allocations: 0 / 1.148 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.9918, allocations: 3.984 kB / 1.148 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.9931, allocations: 0.9385 MB / 1.148 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.9932, allocations: 4 kB / 1.148 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.9934, allocations: 43.97 kB / 1.148 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.9934, allocations: 3.938 kB / 1.148 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.9934, allocations: 16.22 kB / 1.148 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.9934, allocations: 7.938 kB / 1.149 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9935, allocations: 4 kB / 1.149 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009019/0.9944, allocations: 0.631 MB / 1.149 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.9945, allocations: 148.5 kB / 1.149 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.9946, allocations: 4 kB / 1.149 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.9948, allocations: 15.98 kB / 1.149 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.9949, allocations: 20.05 kB / 1.149 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.9949, allocations: 8 kB / 1.149 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002623/0.9951, allocations: 287.1 kB / 1.15 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9952, allocations: 0 / 1.15 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004445/0.9956, allocations: 103.8 kB / 1.15 GB, free: 3.676 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.0003951/0.996, allocations: 188.1 kB / 1.15 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005771/0.9966, allocations: 307.3 kB / 1.15 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.9966, allocations: 0 / 1.15 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.9969, allocations: 144.5 kB / 1.15 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.9979, allocations: 221.8 kB / 1.151 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.9992, allocations: 0.8162 MB / 1.151 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.9996, allocations: 0.8233 MB / 1.152 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002852/0.9999, allocations: 103.4 kB / 1.152 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.424e-05/1, allocations: 39.44 kB / 1.152 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1, allocations: 0 / 1.152 GB, free: 0.9766 MB / 0.9044 GB Notification: Performance of Templates: time 0.01643/1.016, allocations: 7.604 MB / 1.16 GB, free: 9.5 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