Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001025/0.001025, allocations: 86.17 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.001307/0.001307, 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.393/1.393, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.673/2.673, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003391, allocations: 10.84 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2675, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1635/0.431, allocations: 163.1 MB / 1.217 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00824/0.4393, allocations: 7.267 MB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000477/0.4398, allocations: 15.94 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005461/0.4404, allocations: 166.8 kB / 1.225 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.4426, allocations: 0.8903 MB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.444, allocations: 0.5283 MB / 1.226 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.4452, allocations: 1.306 MB / 1.227 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004581/0.4457, allocations: 322 kB / 1.228 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.447, allocations: 0.681 MB / 1.228 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005202/0.4475, allocations: 422.5 kB / 1.229 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/0.4476, allocations: 20 kB / 1.229 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.4486, allocations: 0.5262 MB / 1.229 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.4488, allocations: 143.5 kB / 1.229 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.4489, allocations: 109.5 kB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006337/0.4495, allocations: 0.5923 MB / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.4496, allocations: 0 / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.447e-06/0.4496, allocations: 3.984 kB / 1.23 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4496, allocations: 0 / 1.23 GB, free: 4.781 MB / 0.9825 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.0009478/0.4505, allocations: 0.721 MB / 1.231 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.4506, allocations: 8.031 kB / 1.231 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000903/0.4515, allocations: 151.2 kB / 1.231 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.452, allocations: 375.6 kB / 1.231 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.452, allocations: 28.95 kB / 1.231 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.4521, allocations: 40 kB / 1.231 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006974/0.4528, allocations: 454.4 kB / 1.232 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4528, allocations: 0 / 1.232 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.4528, allocations: 19.94 kB / 1.232 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.4528, allocations: 11.94 kB / 1.232 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005843/0.4534, allocations: 331.7 kB / 1.232 GB, free: 2.551 MB / 0.9825 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.001927/0.4554, allocations: 2.016 MB / 1.234 GB, free: 372 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.4558, allocations: 242.4 kB / 1.234 GB, free: 120 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.456, allocations: 148.9 kB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005612/0.4566, allocations: 323.1 kB / 1.235 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.4566, allocations: 34.56 kB / 1.235 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.4567, allocations: 4 kB / 1.235 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.0009673/0.4576, allocations: 470.6 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.4577, allocations: 55.41 kB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.4581, allocations: 393.9 kB / 1.236 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.4581, allocations: 29.7 kB / 1.236 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.4582, allocations: 232.2 kB / 1.236 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.4583, allocations: 82.77 kB / 1.236 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/0.4583, allocations: 4 kB / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4585, allocations: 358.7 kB / 1.236 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.4587, allocations: 115.9 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.459, allocations: 187.3 kB / 1.237 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.4592, allocations: 142.6 kB / 1.237 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4593, allocations: 4 kB / 1.237 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006123/0.4599, allocations: 368.8 kB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4599, allocations: 8.219 kB / 1.237 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4599, allocations: 8 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4599, allocations: 4 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.4602, allocations: 55.91 kB / 1.237 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4602, allocations: 11.92 kB / 1.237 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.4605, allocations: 59.66 kB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.4605, allocations: 8 kB / 1.237 GB, free: 12.93 MB / 0.9981 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.0001619/0.4607, allocations: 165.7 kB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.4608, allocations: 43.44 kB / 1.237 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006903/0.4615, allocations: 381 kB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4615, allocations: 3.938 kB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4615, allocations: 0 / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4615, allocations: 7.984 kB / 1.238 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.4628, allocations: 0.9487 MB / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.4628, allocations: 224 / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.4631, allocations: 47.98 kB / 1.239 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4631, allocations: 4 kB / 1.239 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.4631, allocations: 19.92 kB / 1.239 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4631, allocations: 7.938 kB / 1.239 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4631, allocations: 0 / 1.239 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008884/0.464, allocations: 0.6582 MB / 1.239 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.4642, allocations: 148.4 kB / 1.24 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.4643, allocations: 8 kB / 1.24 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.4645, allocations: 36.03 kB / 1.24 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.4646, allocations: 15.94 kB / 1.24 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.4646, allocations: 12 kB / 1.24 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000261/0.4649, allocations: 279.1 kB / 1.24 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4649, allocations: 0 / 1.24 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004385/0.4653, allocations: 115.8 kB / 1.24 GB, free: 9.91 MB / 0.9981 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.0003632/0.4657, allocations: 168.8 kB / 1.24 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.4662, allocations: 292.1 kB / 1.24 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4663, allocations: 0 / 1.24 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.4665, allocations: 157.4 kB / 1.241 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009971/0.4675, allocations: 217.3 kB / 1.241 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.4688, allocations: 0.9507 MB / 1.242 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.4691, allocations: 0.8314 MB / 1.243 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.4694, allocations: 95.41 kB / 1.243 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.4695, allocations: 31.44 kB / 1.243 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.4695, allocations: 0 / 1.243 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of Templates: time 0.01211/0.4817, allocations: 6.995 MB / 1.25 GB, free: 240 kB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches