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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, 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.001133/0.001133, allocations: 194.9 kB / 16.14 MB, free: 6.645 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 / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.649/2.649, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 69.12 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2858, allocations: 157.4 MB / 1.052 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1767/0.4626, allocations: 177.2 MB / 1.225 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009041/0.4716, allocations: 7.85 MB / 1.233 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006913/0.4724, allocations: 23.88 kB / 1.233 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008809/0.4733, allocations: 182.8 kB / 1.233 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003066/0.4764, allocations: 1.156 MB / 1.234 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.4782, allocations: 0.6537 MB / 1.235 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001538/0.4797, allocations: 1.547 MB / 1.236 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005971/0.4803, allocations: 360.6 kB / 1.237 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.4829, allocations: 0.7619 MB / 1.237 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007329/0.4836, allocations: 450.3 kB / 1.238 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.198e-05/0.4837, allocations: 28 kB / 1.238 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.4855, allocations: 1.095 MB / 1.239 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.4857, allocations: 143.5 kB / 1.239 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002918/0.486, allocations: 230.8 kB / 1.239 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.4874, allocations: 0.9738 MB / 1.24 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4874, allocations: 7.922 kB / 1.24 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.186e-06/0.4874, allocations: 0 / 1.24 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.4874, allocations: 3.938 kB / 1.24 GB, free: 6.965 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.001236/0.4887, allocations: 0.7988 MB / 1.241 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4887, allocations: 15.97 kB / 1.241 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.729e-05/0.4888, allocations: 78.47 kB / 1.241 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009796/0.4898, allocations: 147.3 kB / 1.241 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.4903, allocations: 383.3 kB / 1.242 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.4903, allocations: 29 kB / 1.242 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.4904, allocations: 36 kB / 1.242 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/0.4911, allocations: 454.4 kB / 1.242 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4911, allocations: 0 / 1.242 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.4911, allocations: 19.94 kB / 1.242 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4911, allocations: 8 kB / 1.242 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005758/0.4917, allocations: 315.8 kB / 1.242 GB, free: 4.578 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.002132/0.4939, allocations: 2.015 MB / 1.244 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.4943, allocations: 238.4 kB / 1.245 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.4945, allocations: 152.8 kB / 1.245 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005751/0.4951, allocations: 307.2 kB / 1.245 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.4951, allocations: 34.56 kB / 1.245 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.342e-06/0.4951, allocations: 0 / 1.245 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.0009688/0.4961, allocations: 461.1 kB / 1.246 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.4962, allocations: 59.34 kB / 1.246 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.4965, allocations: 393.9 kB / 1.246 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.4966, allocations: 33.7 kB / 1.246 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.4967, allocations: 236.2 kB / 1.246 GB, free: 412 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.998e-05/0.4968, allocations: 74.86 kB / 1.246 GB, free: 336 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/0.4969, allocations: 65.59 kB / 1.246 GB, free: 264 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.463/0.9598, allocations: 354.1 kB / 1.247 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.9602, allocations: 107.4 kB / 1.247 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.9605, allocations: 180.6 kB / 1.247 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/0.961, allocations: 304.1 kB / 1.247 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.961, allocations: 0 / 1.247 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006906/0.9617, allocations: 368.4 kB / 1.248 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.9617, allocations: 7.922 kB / 1.248 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.9618, allocations: 2.031 kB / 1.248 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.9618, allocations: 2.938 kB / 1.248 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.9621, allocations: 57.52 kB / 1.248 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.9621, allocations: 3.578 kB / 1.248 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.9624, allocations: 52.86 kB / 1.248 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.9624, allocations: 13.16 kB / 1.248 GB, free: 196.5 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.0001682/0.9626, allocations: 173 kB / 1.248 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.9627, allocations: 38.38 kB / 1.248 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007005/0.9634, allocations: 364.3 kB / 1.248 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.9634, allocations: 4.359 kB / 1.248 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.9634, allocations: 4.938 kB / 1.248 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.9634, allocations: 1.359 kB / 1.248 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.9647, allocations: 0.9478 MB / 1.249 GB, free: 196 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9647, allocations: 1.906 kB / 1.249 GB, free: 196 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.965, allocations: 47.19 kB / 1.249 GB, free: 196 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.965, allocations: 3.969 kB / 1.249 GB, free: 196 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.965, allocations: 11.31 kB / 1.249 GB, free: 196 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.965, allocations: 3.906 kB / 1.249 GB, free: 196 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.965, allocations: 1.969 kB / 1.249 GB, free: 196 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008438/0.9659, allocations: 0.6336 MB / 1.25 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.966, allocations: 144.8 kB / 1.25 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.9661, allocations: 8.797 kB / 1.25 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.9663, allocations: 24.03 kB / 1.25 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.9664, allocations: 28.05 kB / 1.25 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.9664, allocations: 7.25 kB / 1.25 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000269/0.9667, allocations: 278.8 kB / 1.25 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9667, allocations: 4.75 kB / 1.25 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004504/0.9671, allocations: 119.2 kB / 1.251 GB, free: 195.5 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.001196/0.9683, allocations: 1.241 MB / 1.252 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004941/0.9688, allocations: 288.1 kB / 1.252 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9688, allocations: 0 / 1.252 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.9691, allocations: 147.8 kB / 1.252 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009997/0.9701, allocations: 217.6 kB / 1.252 GB, free: 194.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.9739, allocations: 3.967 MB / 1.256 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.9741, allocations: 0.8282 MB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00031/0.9744, allocations: 104 kB / 1.257 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.9746, allocations: 135 kB / 1.257 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.9746, allocations: 0 / 1.257 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6278/1.602, allocations: 11.09 MB / 1.268 GB, free: 191 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/1.603, allocations: 255.6 kB / 1.268 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/3.774, allocations: 4 kB / 1.268 GB, free: 190.8 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > 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