Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap",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.002439/0.002439, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002706/0.002706, allocations: 192.7 kB / 16.53 MB, free: 6.699 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.96/2.96, allocations: 482.3 MB / 0.7546 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 68.09 kB / 0.9238 GB, free: 29.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3073, allocations: 162.2 MB / 1.082 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap): time 0.04061/0.3479, allocations: 37.39 MB / 1.119 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.7073/1.055, allocations: 148.6 MB / 1.264 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/1.057, allocations: 50.34 kB / 1.264 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007805/1.065, allocations: 4.077 MB / 1.268 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005132/1.07, allocations: 1.947 MB / 1.27 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003175/1.073, allocations: 1.423 MB / 1.271 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006871/1.08, allocations: 5.606 MB / 1.277 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/1.082, allocations: 1.104 MB / 1.278 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/1.085, allocations: 1.591 MB / 1.279 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/1.086, allocations: 0.9445 MB / 1.28 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002345/1.087, allocations: 114.5 kB / 1.28 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/1.089, allocations: 1.113 MB / 1.281 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005011/1.09, allocations: 0.4973 MB / 1.282 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001022/1.091, allocations: 0.8565 MB / 1.283 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004623/1.095, allocations: 2.655 MB / 1.285 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/1.095, allocations: 4.875 kB / 1.285 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/1.095, allocations: 0.9375 kB / 1.285 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.195e-05/1.095, allocations: 0 / 1.285 GB, free: 6.848 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.004196/1.1, allocations: 2.063 MB / 1.287 GB, free: 21.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.1, allocations: 9.594 kB / 1.287 GB, free: 21.73 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/1.1, allocations: 118.1 kB / 1.287 GB, free: 21.69 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/1.102, allocations: 364.3 kB / 1.288 GB, free: 21.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/1.105, allocations: 2.081 MB / 1.29 GB, free: 21.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.897e-05/1.105, allocations: 61.88 kB / 1.29 GB, free: 21.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/1.105, allocations: 84.47 kB / 1.29 GB, free: 21.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/1.107, allocations: 0.8508 MB / 1.291 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/1.107, allocations: 8.297 kB / 1.291 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.15e-05/1.107, allocations: 28.28 kB / 1.291 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/1.107, allocations: 31.94 kB / 1.291 GB, free: 21.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/1.108, allocations: 0.6593 MB / 1.292 GB, free: 21.01 MB / 1.014 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.005316/1.114, allocations: 4.01 MB / 1.295 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/1.115, allocations: 0.5119 MB / 1.296 GB, free: 19.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005454/1.115, allocations: 246.5 kB / 1.296 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002909/1.118, allocations: 1.807 MB / 1.298 GB, free: 17.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/1.118, allocations: 40.38 kB / 1.298 GB, free: 17.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.695e-06/1.118, allocations: 1.094 kB / 1.298 GB, free: 17.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.002045/1.12, allocations: 0.7342 MB / 1.299 GB, free: 17.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/1.12, allocations: 55.81 kB / 1.299 GB, free: 17.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/1.123, allocations: 1.531 MB / 1.3 GB, free: 17.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.101e-05/1.123, allocations: 40.45 kB / 1.3 GB, free: 17.51 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004519/1.123, allocations: 0.6659 MB / 1.301 GB, free: 17.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/1.123, allocations: 166.4 kB / 1.301 GB, free: 17.18 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/1.124, allocations: 260.8 kB / 1.301 GB, free: 17.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.124, allocations: 351.9 kB / 1.302 GB, free: 16.85 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007935/1.125, allocations: 431.3 kB / 1.302 GB, free: 16.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009883/1.126, allocations: 0.7027 MB / 1.303 GB, free: 16.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/1.127, allocations: 1.042 MB / 1.304 GB, free: 16.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.127, allocations: 3.219 kB / 1.304 GB, free: 16.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002375/1.13, allocations: 1.297 MB / 1.305 GB, free: 16.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.13, allocations: 7.875 kB / 1.305 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.13, allocations: 8.906 kB / 1.305 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/1.13, allocations: 11.16 kB / 1.305 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/1.131, allocations: 235.2 kB / 1.305 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/1.131, allocations: 17.47 kB / 1.305 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/1.132, allocations: 127.8 kB / 1.305 GB, free: 16.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-05/1.132, allocations: 43.69 kB / 1.305 GB, free: 16.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001221/1.133, allocations: 0.7529 MB / 1.306 GB, free: 16 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008379/1.134, allocations: 0.7 MB / 1.307 GB, free: 15.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001399/1.135, allocations: 1.026 MB / 1.308 GB, free: 15.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.392e-06/1.135, allocations: 3.188 kB / 1.308 GB, free: 15.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.002119/1.137, allocations: 1.275 MB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/1.137, allocations: 8.25 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.137, allocations: 6.875 kB / 1.309 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/1.137, allocations: 16.5 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007774/1.138, allocations: 230.3 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/1.138, allocations: 15.22 kB / 1.309 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/1.139, allocations: 110.3 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/1.139, allocations: 44.09 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (115): * Single equations (assignments): 113 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002976/1.14, allocations: 235.4 kB / 1.31 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/1.14, allocations: 141 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/1.142, allocations: 0.7336 MB / 1.311 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/1.142, allocations: 8.812 kB / 1.311 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.142, allocations: 0 / 1.311 GB, free: 14.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/1.143, allocations: 0.7455 MB / 1.311 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/1.146, allocations: 1.789 MB / 1.313 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.146, allocations: 0 / 1.313 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/1.147, allocations: 109 kB / 1.313 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/1.147, allocations: 9.844 kB / 1.313 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/1.147, allocations: 23.42 kB / 1.313 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.147, allocations: 3.938 kB / 1.313 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.147, allocations: 2.469 kB / 1.313 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/1.149, allocations: 1.048 MB / 1.314 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/1.149, allocations: 299.1 kB / 1.315 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/1.149, allocations: 19.3 kB / 1.315 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006156/1.15, allocations: 40.02 kB / 1.315 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/1.15, allocations: 31.62 kB / 1.315 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/1.15, allocations: 27.59 kB / 1.315 GB, free: 13.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001299/1.151, allocations: 1.02 MB / 1.316 GB, free: 13.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.151, allocations: 4 kB / 1.316 GB, free: 13.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002455/1.154, allocations: 0.7481 MB / 1.316 GB, free: 12.98 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (pum.vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],hIn.h_out,hOut.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 (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003484/1.157, allocations: 2.021 MB / 1.318 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002789/1.16, allocations: 1.487 MB / 1.32 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.16, allocations: 0 / 1.32 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000589/1.161, allocations: 288.2 kB / 1.32 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/1.164, allocations: 0.7009 MB / 1.321 GB, free: 11.09 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/1.179, allocations: 11.17 MB / 1.332 GB, free: 4.973 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009041/1.18, allocations: 1.292 MB / 1.333 GB, free: 4.172 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001744/1.182, allocations: 404.1 kB / 1.333 GB, free: 4.059 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008702/1.183, allocations: 0.5948 MB / 1.334 GB, free: 3.613 MB / 1.014 GB Notification: Performance of SimCode: time 8.71e-07/1.183, allocations: 0 / 1.334 GB, free: 3.613 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07671/1.26, allocations: 40.27 MB / 1.373 GB, free: 11.44 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.83/10.09, allocations: 14.62 kB / 1.373 GB, free: 11.43 MB / 1.045 GB (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.csv --start-time 0 --stop-time 180 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.072 Buildings_latest_Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_BaseClasses_Examples_SteamTrap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.BaseClasses.Examples.SteamTrap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches