Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_10_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.007754/0.007754, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001621/0.001621, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.741/2.741, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 64.05 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3414, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03706/0.3785, allocations: 29.34 MB / 1.195 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.3901, allocations: 6.878 MB / 1.202 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.3915, allocations: 47.62 kB / 1.202 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.3934, allocations: 0.6875 MB / 1.202 GB, free: 2.168 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.3974, allocations: 1.458 MB / 1.204 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003025/0.4004, allocations: 1.154 MB / 1.205 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00372/0.4042, allocations: 2.473 MB / 1.207 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.4057, allocations: 0.7984 MB / 1.208 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.408, allocations: 1.012 MB / 1.209 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.4095, allocations: 0.8169 MB / 1.21 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.4097, allocations: 64 kB / 1.21 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.4117, allocations: 0.8188 MB / 1.211 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.412, allocations: 275 kB / 1.211 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007686/0.4128, allocations: 0.5515 MB / 1.211 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002924/0.4157, allocations: 1.622 MB / 1.213 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4158, allocations: 0 / 1.213 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4158, allocations: 0 / 1.213 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.515e-05/0.4158, allocations: 4 kB / 1.213 GB, free: 7.09 MB / 0.9669 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.002861/0.4187, allocations: 1.615 MB / 1.215 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4187, allocations: 8.031 kB / 1.215 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.4189, allocations: 126.6 kB / 1.215 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003446/0.4223, allocations: 0.5892 MB / 1.215 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.424, allocations: 0.8768 MB / 1.216 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.4241, allocations: 62.12 kB / 1.216 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.4242, allocations: 75.98 kB / 1.216 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/0.4268, allocations: 1.092 MB / 1.217 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.4268, allocations: 7.938 kB / 1.217 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.4269, allocations: 32 kB / 1.217 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.4269, allocations: 16 kB / 1.217 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003187/0.4301, allocations: 1.004 MB / 1.218 GB, free: 1.383 MB / 0.9669 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.006565/0.4367, allocations: 4.948 MB / 1.223 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003093/0.4398, allocations: 0.9036 MB / 1.224 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.4414, allocations: 486.2 kB / 1.225 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/0.4431, allocations: 1.584 MB / 1.226 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001808/0.4449, allocations: 0.5806 MB / 1.227 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=61): time 3.136e-06/0.4449, allocations: 4 kB / 1.227 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=61): time 0.005251/0.4502, allocations: 1.482 MB / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.4503, allocations: 63.97 kB / 1.228 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.4519, allocations: 1.12 MB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.452, allocations: 41.64 kB / 1.229 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000542/0.4526, allocations: 0.5482 MB / 1.23 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.4528, allocations: 226.1 kB / 1.23 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.4532, allocations: 166.5 kB / 1.23 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.4534, allocations: 334 kB / 1.231 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.4549, allocations: 453.6 kB / 1.231 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.4567, allocations: 0.7128 MB / 1.232 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/0.46, allocations: 1.12 MB / 1.233 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.46, allocations: 0 / 1.233 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004121/0.4642, allocations: 1.278 MB / 1.234 GB, free: 436 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.4642, allocations: 8 kB / 1.234 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.4643, allocations: 8.844 kB / 1.234 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-05/0.4643, allocations: 12 kB / 1.234 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.4656, allocations: 275.5 kB / 1.234 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.183e-05/0.4656, allocations: 12 kB / 1.234 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.4669, allocations: 183.3 kB / 1.235 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.467, allocations: 39.98 kB / 1.235 GB, free: 15.9 MB / 0.9981 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.00053/0.4675, allocations: 311.5 kB / 1.235 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.4678, allocations: 131.1 kB / 1.235 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004005/0.4718, allocations: 1.351 MB / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.4719, allocations: 15.98 kB / 1.236 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4719, allocations: 4 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.4719, allocations: 96 / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005309/0.4772, allocations: 2.382 MB / 1.239 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.4772, allocations: 4 kB / 1.239 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.4783, allocations: 183.9 kB / 1.239 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.4783, allocations: 8 kB / 1.239 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-05/0.4784, allocations: 31.97 kB / 1.239 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/0.4784, allocations: 7.938 kB / 1.239 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4784, allocations: 3.938 kB / 1.239 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005254/0.4836, allocations: 1.978 MB / 1.241 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/0.4842, allocations: 284 kB / 1.241 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.4843, allocations: 16 kB / 1.241 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00092/0.4852, allocations: 103.9 kB / 1.241 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4854, allocations: 52.44 kB / 1.241 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-05/0.4855, allocations: 39.97 kB / 1.241 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001002/0.4865, allocations: 0.7599 MB / 1.242 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4865, allocations: 0 / 1.242 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001088/0.4876, allocations: 355.3 kB / 1.242 GB, free: 7.75 MB / 0.9981 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.007686/0.4953, allocations: 3.084 MB / 1.245 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003568/0.4989, allocations: 1.118 MB / 1.246 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4989, allocations: 0 / 1.246 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.5007, allocations: 0.5658 MB / 1.247 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.5028, allocations: 457.9 kB / 1.247 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6132/1.116, allocations: 9.613 MB / 1.257 GB, free: 43.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007977/1.117, allocations: 1.108 MB / 1.258 GB, free: 43.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001117/1.118, allocations: 243.2 kB / 1.258 GB, free: 43.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006625/1.119, allocations: 461.2 kB / 1.259 GB, free: 43.11 MB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/1.119, allocations: 0 / 1.259 GB, free: 43.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08182/1.201, allocations: 30.67 MB / 1.289 GB, free: 38.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/12.04, allocations: 5.281 kB / 1.289 GB, free: 38.34 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches