Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.001133/0.001133, allocations: 108 kB / 15.6 MB, free: 132 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.001207/0.001207, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 469.4 MB / 0.742 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002344, allocations: 66.61 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3421, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03313/0.3752, allocations: 29.33 MB / 1.092 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.3858, allocations: 6.893 MB / 1.099 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.3873, allocations: 51.69 kB / 1.099 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002012/0.3894, allocations: 0.6875 MB / 1.1 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005849/0.3953, allocations: 1.454 MB / 1.101 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.3987, allocations: 1.146 MB / 1.102 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004002/0.4028, allocations: 2.473 MB / 1.105 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.4045, allocations: 0.7906 MB / 1.105 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.4071, allocations: 1.012 MB / 1.106 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.4088, allocations: 0.8169 MB / 1.107 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003716/0.4092, allocations: 68 kB / 1.107 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.4119, allocations: 0.8148 MB / 1.108 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005598/0.4125, allocations: 271 kB / 1.108 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.4137, allocations: 0.5554 MB / 1.109 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004056/0.4178, allocations: 1.581 MB / 1.11 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.4178, allocations: 4 kB / 1.11 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.447e-06/0.4178, allocations: 3.938 kB / 1.11 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.143e-05/0.4179, allocations: 0 / 1.11 GB, free: 14.39 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.004285/0.4222, allocations: 1.562 MB / 1.112 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.4223, allocations: 15.97 kB / 1.112 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002155/0.4225, allocations: 118.6 kB / 1.112 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003663/0.4262, allocations: 0.5884 MB / 1.113 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.4277, allocations: 0.8056 MB / 1.114 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/0.4278, allocations: 62.12 kB / 1.114 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.428, allocations: 71.98 kB / 1.114 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/0.4306, allocations: 1.096 MB / 1.115 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.4306, allocations: 3.938 kB / 1.115 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.541e-05/0.4307, allocations: 28 kB / 1.115 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.4307, allocations: 20 kB / 1.115 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003243/0.434, allocations: 1 MB / 1.116 GB, free: 8.816 MB / 0.8731 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.006334/0.4403, allocations: 4.967 MB / 1.121 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003068/0.4434, allocations: 0.8958 MB / 1.121 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.445, allocations: 490.5 kB / 1.122 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/0.4464, allocations: 1.587 MB / 1.123 GB, free: 248 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/0.4482, allocations: 0.5728 MB / 1.124 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 3.206e-06/0.4482, allocations: 0 / 1.124 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.004991/0.4532, allocations: 1.485 MB / 1.125 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.4533, allocations: 59.95 kB / 1.126 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/0.4548, allocations: 1.116 MB / 1.127 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.625e-05/0.4549, allocations: 45.64 kB / 1.127 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/0.4554, allocations: 0.5473 MB / 1.127 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.4556, allocations: 209 kB / 1.127 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/0.4559, allocations: 162.5 kB / 1.128 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4561, allocations: 337.9 kB / 1.128 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.4576, allocations: 461.6 kB / 1.128 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.4593, allocations: 0.7125 MB / 1.129 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003103/0.4624, allocations: 1.117 MB / 1.13 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.4624, allocations: 4 kB / 1.13 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003753/0.4662, allocations: 1.27 MB / 1.131 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.4662, allocations: 9.562 kB / 1.131 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4662, allocations: 8 kB / 1.131 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/0.4663, allocations: 12 kB / 1.131 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4675, allocations: 272.2 kB / 1.132 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.83e-05/0.4676, allocations: 19.92 kB / 1.132 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.4688, allocations: 186.9 kB / 1.132 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.469, allocations: 43.98 kB / 1.132 GB, free: 7.336 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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.0005019/0.4695, allocations: 293.5 kB / 1.132 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.4698, allocations: 122.4 kB / 1.132 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/0.4738, allocations: 1.355 MB / 1.134 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.4739, allocations: 12 kB / 1.134 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4739, allocations: 3.984 kB / 1.134 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.4739, allocations: 96 / 1.134 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005682/0.4796, allocations: 2.374 MB / 1.136 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.4796, allocations: 0 / 1.136 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.4807, allocations: 199.8 kB / 1.136 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.4807, allocations: 4 kB / 1.136 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.337e-05/0.4808, allocations: 23.97 kB / 1.136 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.4808, allocations: 4 kB / 1.136 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.4808, allocations: 7.938 kB / 1.136 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005361/0.4862, allocations: 1.969 MB / 1.138 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005349/0.4868, allocations: 275.3 kB / 1.138 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/0.487, allocations: 23.94 kB / 1.138 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.4881, allocations: 107.9 kB / 1.138 GB, free: 444 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.4882, allocations: 52.42 kB / 1.139 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.338e-05/0.4883, allocations: 35.97 kB / 1.139 GB, free: 356 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001077/0.4894, allocations: 0.7638 MB / 1.139 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.753e-06/0.4894, allocations: 0 / 1.139 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001173/0.4906, allocations: 351.5 kB / 1.14 GB, free: 15.23 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.0072/0.4978, allocations: 3.075 MB / 1.143 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00383/0.5016, allocations: 1.181 MB / 1.144 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.5017, allocations: 192 / 1.144 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.5034, allocations: 0.5812 MB / 1.144 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.5058, allocations: 450.9 kB / 1.145 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/0.526, allocations: 10.21 MB / 1.155 GB, free: 15.3 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007543/0.5267, allocations: 1.107 MB / 1.156 GB, free: 14.17 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001134/0.5279, allocations: 244.7 kB / 1.156 GB, free: 13.93 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006675/0.5286, allocations: 467.2 kB / 1.157 GB, free: 13.47 MB / 0.92 GB Notification: Performance of SimCode: time 7.82e-07/0.5286, allocations: 0 / 1.157 GB, free: 13.47 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06169/0.5903, allocations: 30.33 MB / 1.186 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/9.068, allocations: 13.2 kB / 1.186 GB, free: 15.52 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches