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.001083/0.001083, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001507/0.001507, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.434 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.444/2.444, allocations: 390.9 MB / 0.666 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005, allocations: 15.98 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.789/0.7895, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2/0.9896, allocations: 163.1 MB / 1.114 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009456/0.9991, allocations: 7.263 MB / 1.121 GB, free: 4.688 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006847/0.9998, allocations: 15.94 kB / 1.121 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000677/1, allocations: 174.8 kB / 1.121 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002774/1.003, allocations: 0.8942 MB / 1.122 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/1.005, allocations: 0.5203 MB / 1.122 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001754/1.007, allocations: 1.31 MB / 1.124 GB, free: 1.77 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005571/1.007, allocations: 320.1 kB / 1.124 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/1.009, allocations: 0.6849 MB / 1.125 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006653/1.01, allocations: 426.5 kB / 1.125 GB, free: 356 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/1.01, allocations: 23.94 kB / 1.125 GB, free: 332 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/1.012, allocations: 0.5223 MB / 1.126 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/1.012, allocations: 147.4 kB / 1.126 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/1.012, allocations: 109.5 kB / 1.126 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0007815/1.013, allocations: 0.5846 MB / 1.126 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.013, allocations: 0 / 1.126 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.21e-06/1.013, allocations: 0 / 1.126 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.013, allocations: 7.938 kB / 1.126 GB, free: 14.95 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.001071/1.014, allocations: 0.721 MB / 1.127 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.014, allocations: 12.03 kB / 1.127 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000901/1.015, allocations: 147.3 kB / 1.127 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/1.015, allocations: 371.6 kB / 1.128 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/1.015, allocations: 29 kB / 1.128 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.36e-05/1.015, allocations: 36 kB / 1.128 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/1.016, allocations: 454.4 kB / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.016, allocations: 0 / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/1.016, allocations: 12 kB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/1.016, allocations: 8 kB / 1.128 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006027/1.017, allocations: 339.6 kB / 1.128 GB, free: 12.74 MB / 0.8887 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.002142/1.019, allocations: 2.012 MB / 1.13 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/1.019, allocations: 251.6 kB / 1.131 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/1.02, allocations: 152.8 kB / 1.131 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005965/1.02, allocations: 331.2 kB / 1.131 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/1.02, allocations: 30.56 kB / 1.131 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/1.02, allocations: 0 / 1.131 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24): time 0.001014/1.021, allocations: 475.3 kB / 1.132 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/1.021, allocations: 55.41 kB / 1.132 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/1.022, allocations: 398 kB / 1.132 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/1.022, allocations: 29.7 kB / 1.132 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/1.022, allocations: 236.2 kB / 1.132 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/1.022, allocations: 78.84 kB / 1.132 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/1.022, allocations: 8 kB / 1.132 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.022, allocations: 346.8 kB / 1.133 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/1.023, allocations: 119.9 kB / 1.133 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/1.023, allocations: 191.3 kB / 1.133 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/1.023, allocations: 135.9 kB / 1.133 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.023, allocations: 4 kB / 1.133 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006266/1.024, allocations: 371.3 kB / 1.133 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.024, allocations: 4 kB / 1.133 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.024, allocations: 4 kB / 1.134 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.024, allocations: 3.953 kB / 1.134 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/1.024, allocations: 59.91 kB / 1.134 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/1.024, allocations: 11.92 kB / 1.134 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/1.024, allocations: 59.7 kB / 1.134 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/1.024, allocations: 12 kB / 1.134 GB, free: 7.102 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000193/1.025, allocations: 169.5 kB / 1.134 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/1.025, allocations: 39.53 kB / 1.134 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007392/1.025, allocations: 380.9 kB / 1.134 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.026, allocations: 4 kB / 1.134 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.026, allocations: 3.953 kB / 1.134 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.026, allocations: 0 / 1.134 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/1.027, allocations: 0.9545 MB / 1.135 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.027, allocations: 3.938 kB / 1.135 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/1.027, allocations: 47.97 kB / 1.135 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/1.027, allocations: 4 kB / 1.135 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/1.027, allocations: 8 kB / 1.135 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/1.027, allocations: 7.938 kB / 1.135 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.027, allocations: 0 / 1.135 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000926/1.028, allocations: 0.6503 MB / 1.136 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/1.028, allocations: 148.6 kB / 1.136 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/1.028, allocations: 8 kB / 1.136 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/1.029, allocations: 31.98 kB / 1.136 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/1.029, allocations: 15.97 kB / 1.136 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/1.029, allocations: 15.94 kB / 1.136 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002715/1.029, allocations: 275.1 kB / 1.136 GB, free: 4.215 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.029, allocations: 4 kB / 1.136 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004783/1.03, allocations: 111.8 kB / 1.136 GB, free: 4.102 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003954/1.03, allocations: 187.8 kB / 1.137 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000577/1.03, allocations: 293.2 kB / 1.137 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.031, allocations: 0 / 1.137 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/1.031, allocations: 160.7 kB / 1.137 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/1.032, allocations: 203.6 kB / 1.137 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/1.033, allocations: 0.9469 MB / 1.138 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/1.034, allocations: 0.8314 MB / 1.139 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003125/1.034, allocations: 99.34 kB / 1.139 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.15e-05/1.034, allocations: 39.42 kB / 1.139 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/1.034, allocations: 0 / 1.139 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of Templates: time 0.01334/1.047, allocations: 6.982 MB / 1.146 GB, free: 10.42 MB / 0.9044 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