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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 387.1 MB / 399.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 183.1 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.691/1.691, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 91.95 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.971e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2895, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.421/5.711, allocations: 1.913 GB / 3.125 GB, free: 418.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/5.711, allocations: 89.69 kB / 3.125 GB, free: 418.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.53/7.241, allocations: 442.5 MB / 3.557 GB, free: 295 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/7.241, allocations: 0 / 3.557 GB, free: 295 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.81e-05/7.241, allocations: 16.97 kB / 3.557 GB, free: 295 MB / 1.151 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.001983/7.243, allocations: 0.8371 MB / 3.558 GB, free: 294.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/7.243, allocations: 13.52 kB / 3.558 GB, free: 294.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/7.244, allocations: 146.9 kB / 3.558 GB, free: 294.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/7.246, allocations: 0.6855 MB / 3.559 GB, free: 294.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/7.246, allocations: 29.69 kB / 3.559 GB, free: 294.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.61e-05/7.246, allocations: 42.02 kB / 3.559 GB, free: 294.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008735/7.247, allocations: 415.4 kB / 3.56 GB, free: 294.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/7.247, allocations: 0.9688 kB / 3.56 GB, free: 294.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/7.247, allocations: 18.03 kB / 3.56 GB, free: 294.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/7.247, allocations: 12.84 kB / 3.56 GB, free: 294.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/7.247, allocations: 272.6 kB / 3.56 GB, free: 294.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.002331/7.25, allocations: 2 MB / 3.562 GB, free: 293 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/7.25, allocations: 209.3 kB / 3.562 GB, free: 292.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/7.25, allocations: 121.1 kB / 3.562 GB, free: 292.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005161/7.251, allocations: 303.2 kB / 3.562 GB, free: 292.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/7.251, allocations: 35.5 kB / 3.562 GB, free: 292.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=24): time 2.264e-06/7.251, allocations: 0 / 3.562 GB, free: 292.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=24): time 0.0007285/7.252, allocations: 293.6 kB / 3.563 GB, free: 292.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/7.252, allocations: 61.48 kB / 3.563 GB, free: 292.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/7.252, allocations: 347.6 kB / 3.563 GB, free: 292.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/7.252, allocations: 30.52 kB / 3.563 GB, free: 292.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/7.252, allocations: 230.4 kB / 3.563 GB, free: 292.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/7.252, allocations: 87.67 kB / 3.563 GB, free: 292.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/7.253, allocations: 8.344 kB / 3.563 GB, free: 292.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001039/7.253, allocations: 346.6 kB / 3.564 GB, free: 291.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/7.253, allocations: 86.88 kB / 3.564 GB, free: 291.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/7.253, allocations: 187.2 kB / 3.564 GB, free: 291.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/7.253, allocations: 109.5 kB / 3.564 GB, free: 291.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/7.253, allocations: 1.031 kB / 3.564 GB, free: 291.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005056/7.254, allocations: 321.2 kB / 3.564 GB, free: 291.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/7.254, allocations: 6 kB / 3.564 GB, free: 291.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/7.254, allocations: 1.844 kB / 3.564 GB, free: 291.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/7.254, allocations: 3.688 kB / 3.564 GB, free: 291.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/7.254, allocations: 66.48 kB / 3.565 GB, free: 291.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/7.254, allocations: 2.594 kB / 3.565 GB, free: 291.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/7.255, allocations: 61.09 kB / 3.565 GB, free: 291.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/7.255, allocations: 24.09 kB / 3.565 GB, free: 291.7 MB / 1.151 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 () * 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 8.573e-05/7.255, allocations: 121.2 kB / 3.565 GB, free: 291.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/7.255, allocations: 38.09 kB / 3.565 GB, free: 291.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/7.255, allocations: 319.9 kB / 3.565 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/7.255, allocations: 2.375 kB / 3.565 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/7.255, allocations: 5 kB / 3.565 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/7.255, allocations: 0 / 3.565 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/7.257, allocations: 0.8691 MB / 3.566 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/7.257, allocations: 2.25 kB / 3.566 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/7.257, allocations: 54.88 kB / 3.566 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/7.257, allocations: 7.047 kB / 3.566 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/7.257, allocations: 8.594 kB / 3.566 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/7.257, allocations: 3.219 kB / 3.566 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/7.257, allocations: 5.125 kB / 3.566 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/7.258, allocations: 0.6377 MB / 3.567 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/7.258, allocations: 143.8 kB / 3.567 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/7.258, allocations: 10.25 kB / 3.567 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/7.258, allocations: 26.23 kB / 3.567 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/7.258, allocations: 24.98 kB / 3.567 GB, free: 290.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/7.258, allocations: 7.969 kB / 3.567 GB, free: 290.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002843/7.259, allocations: 274.4 kB / 3.567 GB, free: 290.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.91e-07/7.259, allocations: 0 / 3.567 GB, free: 290.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00108/7.26, allocations: 259.9 kB / 3.567 GB, free: 290.6 MB / 1.151 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 () * 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.002269/7.262, allocations: 1.524 MB / 3.569 GB, free: 290.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005318/7.263, allocations: 236.8 kB / 3.569 GB, free: 290.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/7.263, allocations: 0 / 3.569 GB, free: 290.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/7.263, allocations: 129.8 kB / 3.569 GB, free: 290.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/7.264, allocations: 210.2 kB / 3.569 GB, free: 290.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/7.265, allocations: 0.5842 MB / 3.57 GB, free: 289.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/7.265, allocations: 0.8381 MB / 3.571 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003151/7.266, allocations: 93.44 kB / 3.571 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-05/7.266, allocations: 37.47 kB / 3.571 GB, free: 289.2 MB / 1.151 GB Notification: Performance of SimCode: time 4.61e-07/7.266, allocations: 0 / 3.571 GB, free: 289.2 MB / 1.151 GB Notification: Performance of Templates: time 0.03821/7.304, allocations: 29.36 MB / 3.6 GB, free: 288.8 MB / 1.151 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","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches