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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001372/0.001372, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00176/0.00176, allocations: 193.3 kB / 16.14 MB, free: 6.656 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.78/2.78, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 60.72 kB / 0.8984 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3843, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2047/0.5891, allocations: 177.2 MB / 1.225 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009831/0.599, allocations: 7.856 MB / 1.233 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007378/0.5997, allocations: 19.88 kB / 1.233 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007099/0.6005, allocations: 178.8 kB / 1.233 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003075/0.6036, allocations: 1.152 MB / 1.234 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.6054, allocations: 0.6696 MB / 1.235 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.607, allocations: 1.54 MB / 1.236 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004638/0.6075, allocations: 350.2 kB / 1.237 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.6099, allocations: 0.7616 MB / 1.237 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006899/0.6106, allocations: 458.3 kB / 1.238 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.6107, allocations: 32 kB / 1.238 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.6128, allocations: 1.091 MB / 1.239 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.613, allocations: 143.5 kB / 1.239 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.6133, allocations: 234.8 kB / 1.239 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.6146, allocations: 0.966 MB / 1.24 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6146, allocations: 0 / 1.24 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6146, allocations: 0 / 1.24 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6146, allocations: 3.938 kB / 1.24 GB, free: 7.516 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.001116/0.6157, allocations: 0.8105 MB / 1.241 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6158, allocations: 12.03 kB / 1.241 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009371/0.6167, allocations: 147.3 kB / 1.241 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.6173, allocations: 387.3 kB / 1.241 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.6173, allocations: 29 kB / 1.242 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.6174, allocations: 36 kB / 1.242 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.6181, allocations: 454.4 kB / 1.242 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.6181, allocations: 0 / 1.242 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.6182, allocations: 19.94 kB / 1.242 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.6182, allocations: 8 kB / 1.242 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/0.6188, allocations: 323.7 kB / 1.242 GB, free: 5.199 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.002019/0.6208, allocations: 2.012 MB / 1.244 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.6212, allocations: 238.4 kB / 1.245 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.6215, allocations: 144.8 kB / 1.245 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005767/0.6221, allocations: 315.2 kB / 1.245 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.6221, allocations: 30.56 kB / 1.245 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.6221, allocations: 0 / 1.245 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001001/0.6231, allocations: 464 kB / 1.245 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.6232, allocations: 55.41 kB / 1.245 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.6236, allocations: 397.9 kB / 1.246 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.6236, allocations: 33.7 kB / 1.246 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.6238, allocations: 232.2 kB / 1.246 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/0.6239, allocations: 82.84 kB / 1.246 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.624, allocations: 57.61 kB / 1.246 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6241, allocations: 350.7 kB / 1.247 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.6243, allocations: 115.9 kB / 1.247 GB, free: 436 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.6246, allocations: 182.8 kB / 1.247 GB, free: 228 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6591/1.284, allocations: 297.2 kB / 1.247 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/1.284, allocations: 0 / 1.247 GB, free: 197.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009961/1.285, allocations: 366.6 kB / 1.248 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/1.285, allocations: 5.594 kB / 1.248 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.285, allocations: 1.812 kB / 1.248 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/1.285, allocations: 3.922 kB / 1.248 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/1.285, allocations: 59.94 kB / 1.248 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/1.285, allocations: 3.875 kB / 1.248 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/1.286, allocations: 53.53 kB / 1.248 GB, free: 197.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/1.286, allocations: 15.78 kB / 1.248 GB, free: 197.2 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.0002319/1.286, allocations: 166.6 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/1.286, allocations: 43.66 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008198/1.287, allocations: 368.8 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/1.287, allocations: 3.484 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.287, allocations: 1.625 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.287, allocations: 1.359 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/1.289, allocations: 0.9398 MB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.289, allocations: 5.781 kB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/1.289, allocations: 46.73 kB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/1.289, allocations: 4.969 kB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/1.289, allocations: 7.594 kB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/1.289, allocations: 2.938 kB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/1.289, allocations: 5.906 kB / 1.249 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009771/1.29, allocations: 0.6331 MB / 1.25 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/1.29, allocations: 147.5 kB / 1.25 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/1.29, allocations: 6.656 kB / 1.25 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/1.29, allocations: 27.33 kB / 1.25 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/1.29, allocations: 19.02 kB / 1.25 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/1.29, allocations: 9.219 kB / 1.25 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003807/1.291, allocations: 289.3 kB / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.291, allocations: 0 / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005352/1.291, allocations: 112.3 kB / 1.25 GB, free: 196.3 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.0004939/1.292, allocations: 176.6 kB / 1.251 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006709/1.293, allocations: 285.2 kB / 1.251 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.293, allocations: 0 / 1.251 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002568/1.293, allocations: 151.7 kB / 1.251 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/1.294, allocations: 211.4 kB / 1.251 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/1.295, allocations: 0.9576 MB / 1.252 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/1.295, allocations: 0.8258 MB / 1.253 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002928/1.296, allocations: 95.98 kB / 1.253 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/1.296, allocations: 36.06 kB / 1.253 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/1.296, allocations: 0 / 1.253 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.01658/1.312, allocations: 7.246 MB / 1.26 GB, free: 194.5 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/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