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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001705/0.001705, allocations: 100.1 kB / 15.88 MB, free: 12 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.002447/0.002447, allocations: 196 kB / 16.79 MB, free: 6.809 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.491/1.491, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.6551, allocations: 140.4 MB / 0.9496 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1965/0.8516, allocations: 177.2 MB / 1.123 GB, free: 352 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009395/0.861, allocations: 7.843 MB / 1.13 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006039/0.8617, allocations: 15.88 kB / 1.13 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006941/0.8624, allocations: 194.8 kB / 1.13 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.8657, allocations: 1.144 MB / 1.132 GB, free: 7.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.8675, allocations: 0.6619 MB / 1.132 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001778/0.8693, allocations: 1.54 MB / 1.134 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007226/0.8701, allocations: 354.3 kB / 1.134 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003014/0.8731, allocations: 0.7565 MB / 1.135 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008902/0.874, allocations: 458.3 kB / 1.135 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.794e-05/0.8741, allocations: 24 kB / 1.135 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.8763, allocations: 1.091 MB / 1.136 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.8765, allocations: 155.5 kB / 1.136 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.8769, allocations: 226.8 kB / 1.137 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.8781, allocations: 0.6549 MB / 1.137 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.8781, allocations: 0 / 1.137 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.82e-07/0.8782, allocations: 0 / 1.137 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.8782, allocations: 0 / 1.137 GB, free: 1.219 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.001604/0.8798, allocations: 0.8151 MB / 1.138 GB, free: 364 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.8798, allocations: 12.03 kB / 1.138 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.8809, allocations: 147.3 kB / 1.138 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.8815, allocations: 391.3 kB / 1.139 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.8815, allocations: 29 kB / 1.139 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.069e-05/0.8816, allocations: 36 kB / 1.139 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007746/0.8824, allocations: 442.4 kB / 1.139 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.8824, allocations: 3.938 kB / 1.139 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.8825, allocations: 27.92 kB / 1.139 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.8825, allocations: 11.94 kB / 1.139 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006114/0.8831, allocations: 315.8 kB / 1.139 GB, free: 14.91 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.002271/0.8854, allocations: 2.008 MB / 1.141 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.8858, allocations: 242.3 kB / 1.142 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.8861, allocations: 149.2 kB / 1.142 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.8867, allocations: 315.1 kB / 1.142 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.8868, allocations: 30.56 kB / 1.142 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 2.194e-06/0.8868, allocations: 0 / 1.142 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001085/0.8879, allocations: 450.7 kB / 1.143 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.8879, allocations: 55.41 kB / 1.143 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.8884, allocations: 401.9 kB / 1.143 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.8885, allocations: 33.7 kB / 1.143 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.8886, allocations: 232.2 kB / 1.143 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.8887, allocations: 82.81 kB / 1.143 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.8889, allocations: 53.7 kB / 1.143 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.889, allocations: 354.7 kB / 1.144 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.8893, allocations: 115.9 kB / 1.144 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.8896, allocations: 179.3 kB / 1.144 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/0.8901, allocations: 308.5 kB / 1.144 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8901, allocations: 0 / 1.144 GB, free: 9.605 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006785/0.8908, allocations: 362 kB / 1.145 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8908, allocations: 8 kB / 1.145 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8909, allocations: 0 / 1.145 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8909, allocations: 4 kB / 1.145 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.8912, allocations: 68.12 kB / 1.145 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.8912, allocations: 7.938 kB / 1.145 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.8915, allocations: 55.5 kB / 1.145 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.8916, allocations: 8 kB / 1.145 GB, free: 9.098 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.0002083/0.8918, allocations: 169.7 kB / 1.145 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.8919, allocations: 43.53 kB / 1.145 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007411/0.8927, allocations: 366.2 kB / 1.145 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.8927, allocations: 0 / 1.145 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8927, allocations: 0 / 1.145 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.423e-06/0.8927, allocations: 8.016 kB / 1.145 GB, free: 8.508 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.8942, allocations: 0.9426 MB / 1.146 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.8942, allocations: 0 / 1.146 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.8944, allocations: 48.14 kB / 1.146 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.8945, allocations: 11.92 kB / 1.146 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.8945, allocations: 8 kB / 1.146 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.8945, allocations: 11.94 kB / 1.146 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8945, allocations: 3.938 kB / 1.146 GB, free: 7.406 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009603/0.8955, allocations: 0.6314 MB / 1.147 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.8957, allocations: 156.5 kB / 1.147 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.237e-05/0.8958, allocations: 4 kB / 1.147 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.8961, allocations: 28.03 kB / 1.147 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.8961, allocations: 19.98 kB / 1.147 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.8962, allocations: 8 kB / 1.147 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000297/0.8965, allocations: 279.1 kB / 1.147 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8965, allocations: 4 kB / 1.147 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004947/0.897, allocations: 123.7 kB / 1.148 GB, free: 6.117 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.0004179/0.8974, allocations: 159.8 kB / 1.148 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006443/0.898, allocations: 291.8 kB / 1.148 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8981, allocations: 0 / 1.148 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.8983, allocations: 147.8 kB / 1.148 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.8995, allocations: 218.7 kB / 1.148 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.901, allocations: 0.987 MB / 1.149 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.9015, allocations: 0.8314 MB / 1.15 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.9016, allocations: 35.44 kB / 1.15 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of SimCode: time 1.172e-06/0.9016, allocations: 0 / 1.15 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of Templates: time 0.01241/0.914, allocations: 6.783 MB / 1.157 GB, free: 12.67 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/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