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.001488/0.001488, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001836/0.001836, allocations: 198.1 kB / 16.14 MB, free: 6.707 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.423/2.423, allocations: 390.2 MB / 0.6642 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 0.8118 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7139/0.7152, allocations: 140.4 MB / 0.9489 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.215/0.9302, allocations: 177.2 MB / 1.122 GB, free: 300 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009758/0.9401, allocations: 7.851 MB / 1.13 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000727/0.9409, allocations: 19.88 kB / 1.13 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007811/0.9417, allocations: 178.8 kB / 1.13 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003277/0.945, allocations: 1.156 MB / 1.131 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.9469, allocations: 0.6621 MB / 1.132 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001825/0.9487, allocations: 1.548 MB / 1.133 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000526/0.9493, allocations: 346.3 kB / 1.133 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002755/0.9521, allocations: 0.7657 MB / 1.134 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006936/0.9528, allocations: 454.3 kB / 1.135 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.534e-05/0.9528, allocations: 24 kB / 1.135 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.955, allocations: 1.095 MB / 1.136 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.9551, allocations: 151.5 kB / 1.136 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.9554, allocations: 230.8 kB / 1.136 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.9567, allocations: 0.9776 MB / 1.137 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.9568, allocations: 3.938 kB / 1.137 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.42e-07/0.9568, allocations: 0 / 1.137 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.9568, allocations: 4 kB / 1.137 GB, free: 0.8203 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.001279/0.9581, allocations: 0.8028 MB / 1.138 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.9581, allocations: 12.03 kB / 1.138 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009717/0.9591, allocations: 151.2 kB / 1.138 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.9596, allocations: 383.3 kB / 1.138 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.9596, allocations: 29 kB / 1.138 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.2e-05/0.9597, allocations: 36 kB / 1.138 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007198/0.9604, allocations: 454.4 kB / 1.139 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.9605, allocations: 0 / 1.139 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.9605, allocations: 19.94 kB / 1.139 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.9605, allocations: 8 kB / 1.139 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006033/0.9611, allocations: 319.8 kB / 1.139 GB, free: 14.52 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.002084/0.9632, allocations: 2.004 MB / 1.141 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.9636, allocations: 242.4 kB / 1.141 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.9639, allocations: 145.2 kB / 1.141 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005933/0.9645, allocations: 315.1 kB / 1.142 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.9645, allocations: 38.56 kB / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 2.886e-06/0.9646, allocations: 0 / 1.142 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.001042/0.9656, allocations: 454.2 kB / 1.142 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.9656, allocations: 59.34 kB / 1.142 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.966, allocations: 398 kB / 1.143 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.9661, allocations: 29.7 kB / 1.143 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.9663, allocations: 236.2 kB / 1.143 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.9663, allocations: 78.81 kB / 1.143 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.9664, allocations: 61.69 kB / 1.143 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.9666, allocations: 350.7 kB / 1.143 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.9668, allocations: 111.9 kB / 1.144 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.9671, allocations: 183.3 kB / 1.144 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.9676, allocations: 313 kB / 1.144 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9676, allocations: 0 / 1.144 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006469/0.9683, allocations: 366 kB / 1.144 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.9683, allocations: 8 kB / 1.144 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.9683, allocations: 0 / 1.144 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.9683, allocations: 8 kB / 1.144 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.9686, allocations: 55.91 kB / 1.144 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.9687, allocations: 4 kB / 1.144 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.969, allocations: 59.69 kB / 1.144 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.969, allocations: 12 kB / 1.144 GB, free: 8.703 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.0001847/0.9692, allocations: 169.7 kB / 1.145 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.9693, allocations: 39.53 kB / 1.145 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007275/0.97, allocations: 370.2 kB / 1.145 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.97, allocations: 0 / 1.145 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.9701, allocations: 0 / 1.145 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9701, allocations: 0 / 1.145 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.9715, allocations: 0.9409 MB / 1.146 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9715, allocations: 0 / 1.146 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.9718, allocations: 47.97 kB / 1.146 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.9718, allocations: 11.88 kB / 1.146 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.9718, allocations: 12 kB / 1.146 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.9718, allocations: 4 kB / 1.146 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9718, allocations: 224 / 1.146 GB, free: 7.027 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009241/0.9728, allocations: 0.6388 MB / 1.147 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.9729, allocations: 148.4 kB / 1.147 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.973, allocations: 11.98 kB / 1.147 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.9733, allocations: 19.98 kB / 1.147 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.702e-05/0.9734, allocations: 24.03 kB / 1.147 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.9734, allocations: 12 kB / 1.147 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002901/0.9737, allocations: 275.1 kB / 1.147 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9737, allocations: 0 / 1.147 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004801/0.9742, allocations: 111.8 kB / 1.147 GB, free: 5.754 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.0004202/0.9746, allocations: 178 kB / 1.147 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005898/0.9752, allocations: 287.4 kB / 1.148 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9752, allocations: 0 / 1.148 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.9755, allocations: 156.6 kB / 1.148 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.9766, allocations: 208.3 kB / 1.148 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.978, allocations: 0.9503 MB / 1.149 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.9784, allocations: 0.8275 MB / 1.15 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003295/0.9787, allocations: 99.41 kB / 1.15 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.516e-05/0.9788, allocations: 43.36 kB / 1.15 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/0.9788, allocations: 0 / 1.15 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of Templates: time 0.01352/0.9923, allocations: 7.254 MB / 1.157 GB, free: 11.8 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