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.00153/0.00153, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001751/0.001751, allocations: 192.2 kB / 17.3 MB, free: 5.613 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 66.02 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3211, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.8366/1.158, allocations: 179.4 MB / 1.126 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01434/1.172, allocations: 7.823 MB / 1.134 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/1.174, allocations: 20.09 kB / 1.134 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/1.175, allocations: 244.4 kB / 1.134 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004928/1.18, allocations: 1.225 MB / 1.135 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/1.183, allocations: 0.7317 MB / 1.136 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002385/1.185, allocations: 1.08 MB / 1.137 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008013/1.186, allocations: 401.5 kB / 1.138 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003219/1.189, allocations: 0.8287 MB / 1.138 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/1.19, allocations: 434.4 kB / 1.139 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.97e-05/1.19, allocations: 37.22 kB / 1.139 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003274/1.193, allocations: 0.9562 MB / 1.14 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003252/1.194, allocations: 157.1 kB / 1.14 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006021/1.194, allocations: 243.9 kB / 1.14 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002854/1.197, allocations: 0.9395 MB / 1.141 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.197, allocations: 0 / 1.141 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.923e-06/1.197, allocations: 0 / 1.141 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.548e-06/1.197, allocations: 0 / 1.141 GB, free: 4.738 MB / 0.8575 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.001706/1.199, allocations: 0.8109 MB / 1.142 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.199, allocations: 9.25 kB / 1.142 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/1.201, allocations: 153.7 kB / 1.142 GB, free: 20.15 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008919/1.201, allocations: 397.5 kB / 1.142 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/1.202, allocations: 30.62 kB / 1.142 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.514e-05/1.202, allocations: 35.41 kB / 1.142 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009954/1.203, allocations: 451.9 kB / 1.143 GB, free: 19.79 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/1.203, allocations: 0 / 1.143 GB, free: 19.79 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/1.203, allocations: 18 kB / 1.143 GB, free: 19.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/1.203, allocations: 13.97 kB / 1.143 GB, free: 19.78 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008973/1.204, allocations: 325.2 kB / 1.143 GB, free: 19.77 MB / 0.8731 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.003185/1.207, allocations: 2.01 MB / 1.145 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/1.207, allocations: 238.8 kB / 1.145 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/1.208, allocations: 154.7 kB / 1.146 GB, free: 18.35 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008588/1.209, allocations: 305.4 kB / 1.146 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/1.209, allocations: 40.19 kB / 1.146 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=24): time 2.184e-06/1.209, allocations: 0 / 1.146 GB, free: 18.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24): time 0.001628/1.21, allocations: 456 kB / 1.146 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/1.211, allocations: 54.12 kB / 1.146 GB, free: 17.9 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006512/1.211, allocations: 400.4 kB / 1.147 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/1.211, allocations: 34.8 kB / 1.147 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000193/1.211, allocations: 224.9 kB / 1.147 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/1.212, allocations: 83.83 kB / 1.147 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/1.212, allocations: 55.11 kB / 1.147 GB, free: 17.56 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.212, allocations: 355.8 kB / 1.147 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/1.212, allocations: 111.9 kB / 1.148 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/1.213, allocations: 191.3 kB / 1.148 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/1.214, allocations: 301.1 kB / 1.148 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.214, allocations: 1.156 kB / 1.148 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001079/1.215, allocations: 368.3 kB / 1.148 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/1.215, allocations: 8.531 kB / 1.148 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.215, allocations: 2.25 kB / 1.148 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/1.215, allocations: 2.562 kB / 1.148 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/1.215, allocations: 64.73 kB / 1.148 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.215, allocations: 3.438 kB / 1.148 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/1.216, allocations: 42.62 kB / 1.149 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/1.216, allocations: 13.56 kB / 1.149 GB, free: 17 MB / 0.8731 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.0002758/1.216, allocations: 174.5 kB / 1.149 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/1.216, allocations: 41.89 kB / 1.149 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/1.217, allocations: 374.4 kB / 1.149 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/1.217, allocations: 2.188 kB / 1.149 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.217, allocations: 3.906 kB / 1.149 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.217, allocations: 0 / 1.149 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/1.219, allocations: 0.9317 MB / 1.15 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/1.219, allocations: 1.75 kB / 1.15 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/1.22, allocations: 52.84 kB / 1.15 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/1.22, allocations: 2.375 kB / 1.15 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/1.22, allocations: 11.56 kB / 1.15 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/1.22, allocations: 4.281 kB / 1.15 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.22, allocations: 2.312 kB / 1.15 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/1.221, allocations: 0.6318 MB / 1.151 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/1.221, allocations: 149.7 kB / 1.151 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/1.221, allocations: 9.594 kB / 1.151 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/1.222, allocations: 16.56 kB / 1.151 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/1.222, allocations: 22.91 kB / 1.151 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/1.222, allocations: 7.312 kB / 1.151 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004213/1.222, allocations: 280.6 kB / 1.151 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.71e-07/1.222, allocations: 0 / 1.151 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008633/1.223, allocations: 109.4 kB / 1.151 GB, free: 15.96 MB / 0.8731 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.0004893/1.224, allocations: 181.5 kB / 1.151 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008651/1.224, allocations: 287.1 kB / 1.152 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.224, allocations: 1.594 kB / 1.152 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00042/1.225, allocations: 152.9 kB / 1.152 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/1.227, allocations: 234.4 kB / 1.152 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/1.228, allocations: 0.8018 MB / 1.153 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/1.229, allocations: 0.8349 MB / 1.154 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004905/1.23, allocations: 90.61 kB / 1.154 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/1.23, allocations: 36.47 kB / 1.154 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of SimCode: time 2.184e-06/1.23, allocations: 0 / 1.154 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.02412/1.254, allocations: 7.608 MB / 1.161 GB, free: 14 MB / 0.8731 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 -s cvode -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