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.005306/0.005306, allocations: 100.7 kB / 15.87 MB, free: 5.844 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.00114/0.00114, allocations: 198.4 kB / 16.79 MB, free: 5.781 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 65.52 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3269, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1918/0.5187, allocations: 177.2 MB / 1.226 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009944/0.5287, allocations: 7.86 MB / 1.233 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008471/0.5296, allocations: 15.88 kB / 1.233 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009024/0.5305, allocations: 186.8 kB / 1.234 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003531/0.5341, allocations: 1.148 MB / 1.235 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.5362, allocations: 0.664 MB / 1.235 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001938/0.5382, allocations: 1.54 MB / 1.237 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007824/0.539, allocations: 354.2 kB / 1.237 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003261/0.5423, allocations: 0.7657 MB / 1.238 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000953/0.5432, allocations: 450.4 kB / 1.238 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.5434, allocations: 24 kB / 1.238 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.5458, allocations: 1.099 MB / 1.24 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.5461, allocations: 147.5 kB / 1.24 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004789/0.5466, allocations: 230.8 kB / 1.24 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.5478, allocations: 0.6471 MB / 1.241 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5478, allocations: 0 / 1.241 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5478, allocations: 0 / 1.241 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.5479, allocations: 0 / 1.241 GB, free: 7.316 MB / 0.9981 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.001548/0.5494, allocations: 0.8143 MB / 1.241 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.5495, allocations: 15.97 kB / 1.241 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.5505, allocations: 147.3 kB / 1.241 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005886/0.5511, allocations: 383.4 kB / 1.242 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.5512, allocations: 32.94 kB / 1.242 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/0.5512, allocations: 36 kB / 1.242 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007974/0.5521, allocations: 454.4 kB / 1.242 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.5521, allocations: 7.938 kB / 1.242 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.5521, allocations: 19.94 kB / 1.242 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.5521, allocations: 8 kB / 1.242 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006733/0.5528, allocations: 319.8 kB / 1.243 GB, free: 4.984 MB / 0.9981 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.002285/0.5551, allocations: 2.012 MB / 1.245 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.5556, allocations: 238.4 kB / 1.245 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.5558, allocations: 152.7 kB / 1.245 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006389/0.5565, allocations: 303.2 kB / 1.245 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.5565, allocations: 34.56 kB / 1.245 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.5565, allocations: 0 / 1.245 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001057/0.5576, allocations: 455.4 kB / 1.246 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.5576, allocations: 59.41 kB / 1.246 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.5581, allocations: 394 kB / 1.246 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.5581, allocations: 33.7 kB / 1.246 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.5583, allocations: 232.2 kB / 1.246 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/0.5584, allocations: 82.83 kB / 1.247 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.5585, allocations: 57.61 kB / 1.247 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5587, allocations: 350.7 kB / 1.247 GB, free: 340 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.5589, allocations: 115.9 kB / 1.247 GB, free: 224 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.5592, allocations: 183.3 kB / 1.247 GB, free: 16 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6148/1.174, allocations: 301.5 kB / 1.247 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/1.174, allocations: 2.969 kB / 1.247 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008393/1.175, allocations: 360.3 kB / 1.248 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.175, allocations: 6.5 kB / 1.248 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.175, allocations: 1.656 kB / 1.248 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/1.175, allocations: 4.219 kB / 1.248 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/1.175, allocations: 60.72 kB / 1.248 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.175, allocations: 3.5 kB / 1.248 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/1.176, allocations: 51.81 kB / 1.248 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/1.176, allocations: 13.77 kB / 1.248 GB, free: 196.6 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000219/1.176, allocations: 177.4 kB / 1.248 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/1.176, allocations: 39.66 kB / 1.248 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008078/1.177, allocations: 371.1 kB / 1.249 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.177, allocations: 2.688 kB / 1.249 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.177, allocations: 4.531 kB / 1.249 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.177, allocations: 1.078 kB / 1.249 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/1.178, allocations: 0.9358 MB / 1.249 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.178, allocations: 5.906 kB / 1.249 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/1.179, allocations: 54.31 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/1.179, allocations: 2.75 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/1.179, allocations: 8.438 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/1.179, allocations: 2.031 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.179, allocations: 3.031 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000918/1.18, allocations: 0.6274 MB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/1.18, allocations: 152.5 kB / 1.25 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/1.18, allocations: 10.48 kB / 1.25 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/1.18, allocations: 20.67 kB / 1.25 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/1.18, allocations: 20.36 kB / 1.25 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/1.18, allocations: 14.25 kB / 1.25 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003509/1.181, allocations: 287.4 kB / 1.251 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.181, allocations: 0 / 1.251 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005217/1.181, allocations: 112.7 kB / 1.251 GB, free: 195.7 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 (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.0004376/1.182, allocations: 172.8 kB / 1.251 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006483/1.182, allocations: 286.8 kB / 1.251 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.182, allocations: 2.969 kB / 1.251 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/1.183, allocations: 150.3 kB / 1.251 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/1.184, allocations: 216.7 kB / 1.252 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/1.185, allocations: 0.9856 MB / 1.252 GB, free: 195 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/1.185, allocations: 0.8301 MB / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/1.185, allocations: 37.38 kB / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.185, allocations: 0 / 1.253 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.01279/1.198, allocations: 6.79 MB / 1.26 GB, free: 193.8 MB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches