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.001518/0.001518, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002128/0.002128, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.46/1.46, allocations: 222.9 MB / 239.9 MB, free: 4.488 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.429/2.429, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7136/0.7149, allocations: 140.4 MB / 0.9491 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1807/0.8956, allocations: 177 MB / 1.122 GB, free: 404 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009826/0.9055, allocations: 7.768 MB / 1.13 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007043/0.9063, allocations: 23.81 kB / 1.13 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008464/0.9071, allocations: 202.8 kB / 1.13 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.9102, allocations: 1.136 MB / 1.131 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.9122, allocations: 0.6815 MB / 1.132 GB, free: 6.562 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001113/0.9133, allocations: 1.08 MB / 1.133 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005358/0.9138, allocations: 393.2 kB / 1.133 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.9164, allocations: 0.8267 MB / 1.134 GB, free: 4.27 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006161/0.9171, allocations: 458.4 kB / 1.134 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.9171, allocations: 43.94 kB / 1.134 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.919, allocations: 0.978 MB / 1.135 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.9191, allocations: 155.6 kB / 1.135 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.9194, allocations: 250.7 kB / 1.136 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.9207, allocations: 0.9855 MB / 1.137 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9207, allocations: 0 / 1.137 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9207, allocations: 0 / 1.137 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.9207, allocations: 0 / 1.137 GB, free: 1.41 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.001149/0.9219, allocations: 0.8103 MB / 1.137 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.9219, allocations: 8.031 kB / 1.137 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009548/0.9229, allocations: 155.2 kB / 1.138 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.9234, allocations: 391.3 kB / 1.138 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.9234, allocations: 29 kB / 1.138 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.9235, allocations: 36 kB / 1.138 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007644/0.9243, allocations: 442.4 kB / 1.138 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.9243, allocations: 4 kB / 1.138 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.9244, allocations: 19.94 kB / 1.138 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.9244, allocations: 8 kB / 1.138 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006189/0.925, allocations: 323.7 kB / 1.139 GB, free: 15.1 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.002096/0.9271, allocations: 2.008 MB / 1.141 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.9275, allocations: 234.5 kB / 1.141 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.9278, allocations: 157.2 kB / 1.141 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006183/0.9284, allocations: 307.1 kB / 1.141 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.9285, allocations: 38.48 kB / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 1.954e-06/0.9285, allocations: 4 kB / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001046/0.9296, allocations: 446.5 kB / 1.142 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.9296, allocations: 55.41 kB / 1.142 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.93, allocations: 401.9 kB / 1.142 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.9301, allocations: 29.7 kB / 1.142 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.9302, allocations: 232.3 kB / 1.142 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.253e-05/0.9303, allocations: 86.8 kB / 1.143 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.9304, allocations: 57.7 kB / 1.143 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.9306, allocations: 350.7 kB / 1.143 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.9308, allocations: 107.9 kB / 1.143 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.9311, allocations: 195.2 kB / 1.143 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.9317, allocations: 300.3 kB / 1.144 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9317, allocations: 0 / 1.144 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006304/0.9323, allocations: 369.7 kB / 1.144 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.9323, allocations: 4 kB / 1.144 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9324, allocations: 4 kB / 1.144 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.9324, allocations: 7.938 kB / 1.144 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.9327, allocations: 63.84 kB / 1.144 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.9327, allocations: 8 kB / 1.144 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.933, allocations: 59.53 kB / 1.144 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.9331, allocations: 8 kB / 1.144 GB, free: 9.281 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.0002039/0.9333, allocations: 165.7 kB / 1.144 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.9333, allocations: 39.53 kB / 1.144 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/0.9341, allocations: 369.9 kB / 1.145 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.9341, allocations: 4 kB / 1.145 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9341, allocations: 4 kB / 1.145 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.9341, allocations: 3.984 kB / 1.145 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.9356, allocations: 0.935 MB / 1.146 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9356, allocations: 0 / 1.146 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.9358, allocations: 43.92 kB / 1.146 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/0.9359, allocations: 7.938 kB / 1.146 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.9359, allocations: 11.98 kB / 1.146 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.9359, allocations: 4 kB / 1.146 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.9359, allocations: 4 kB / 1.146 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009573/0.9369, allocations: 0.6308 MB / 1.146 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.937, allocations: 152.5 kB / 1.146 GB, free: 6.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.784e-05/0.9371, allocations: 8 kB / 1.146 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.9374, allocations: 19.98 kB / 1.146 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.9375, allocations: 36 kB / 1.146 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.9375, allocations: 8 kB / 1.146 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002711/0.9378, allocations: 279.1 kB / 1.147 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9378, allocations: 0 / 1.147 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004642/0.9382, allocations: 123.7 kB / 1.147 GB, free: 6.312 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.0004413/0.9387, allocations: 169.2 kB / 1.147 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006289/0.9393, allocations: 301.7 kB / 1.147 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9393, allocations: 0 / 1.147 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.9396, allocations: 152.5 kB / 1.147 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.9407, allocations: 224.5 kB / 1.148 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.9422, allocations: 0.964 MB / 1.149 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.9426, allocations: 0.8272 MB / 1.149 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003883/0.943, allocations: 91.42 kB / 1.149 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.804e-05/0.9431, allocations: 39.44 kB / 1.149 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of SimCode: time 7.01e-07/0.9432, allocations: 0 / 1.149 GB, free: 3.492 MB / 0.9044 GB Notification: Performance of Templates: time 0.01371/0.9569, allocations: 7.52 MB / 1.157 GB, free: 12.09 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