Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.004716/0.004716, allocations: 99.16 kB / 15.73 MB, free: 6.008 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.001313/0.001313, allocations: 198.3 kB / 16.68 MB, free: 5.934 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.781/2.781, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6577/0.6597, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2154/0.8751, allocations: 193.8 MB / 1.409 GB, free: 15.49 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009026/0.8841, allocations: 5.151 MB / 1.414 GB, free: 10.33 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.8852, allocations: 47.69 kB / 1.415 GB, free: 10.29 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.8873, allocations: 0.8119 MB / 1.415 GB, free: 9.469 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006047/0.8933, allocations: 2.606 MB / 1.418 GB, free: 6.852 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.896, allocations: 1.103 MB / 1.419 GB, free: 5.754 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003502/0.8995, allocations: 2.683 MB / 1.422 GB, free: 3.062 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.901, allocations: 0.9522 MB / 1.423 GB, free: 2.094 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.903, allocations: 1.098 MB / 1.424 GB, free: 0.9922 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.9046, allocations: 0.9963 MB / 1.425 GB, free: 15.99 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.9048, allocations: 88 kB / 1.425 GB, free: 15.9 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003278/0.9081, allocations: 1.785 MB / 1.426 GB, free: 14.12 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005206/0.9086, allocations: 450.6 kB / 1.427 GB, free: 13.68 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008313/0.9095, allocations: 0.6682 MB / 1.427 GB, free: 13 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003316/0.9128, allocations: 2.215 MB / 1.43 GB, free: 10.78 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.9128, allocations: 0 / 1.43 GB, free: 10.78 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9128, allocations: 0 / 1.43 GB, free: 10.78 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.9128, allocations: 3.938 kB / 1.43 GB, free: 10.78 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005055/0.9179, allocations: 2.013 MB / 1.432 GB, free: 8.707 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.9179, allocations: 8.031 kB / 1.432 GB, free: 8.699 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001791/0.9181, allocations: 139.6 kB / 1.432 GB, free: 8.555 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005946/0.9241, allocations: 0.9003 MB / 1.433 GB, free: 7.652 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.9257, allocations: 0.9811 MB / 1.434 GB, free: 6.613 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.691e-05/0.9258, allocations: 66 kB / 1.434 GB, free: 6.551 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.926, allocations: 95.98 kB / 1.434 GB, free: 6.457 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004013/0.93, allocations: 1.583 MB / 1.435 GB, free: 4.84 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.93, allocations: 0 / 1.435 GB, free: 4.84 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.9302, allocations: 35.98 kB / 1.435 GB, free: 4.805 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.879e-05/0.9302, allocations: 45.98 kB / 1.435 GB, free: 4.762 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00579/0.936, allocations: 1.85 MB / 1.437 GB, free: 2.906 MB / 1.154 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.00773/0.9438, allocations: 4.74 MB / 1.442 GB, free: 13.94 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004893/0.9487, allocations: 1.561 MB / 1.443 GB, free: 12.37 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002568/0.9513, allocations: 0.8624 MB / 1.444 GB, free: 11.5 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/0.9527, allocations: 0.9451 MB / 1.445 GB, free: 10.37 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002734/0.9554, allocations: 0.9105 MB / 1.446 GB, free: 9.449 MB / 1.17 GB Notification: Performance of pre-optimization done (n=95): time 2.625e-06/0.9554, allocations: 0 / 1.446 GB, free: 9.449 MB / 1.17 GB Notification: Performance of matching and sorting (n=95): time 0.008526/0.964, allocations: 2.459 MB / 1.448 GB, free: 6.988 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.964, allocations: 68.41 kB / 1.448 GB, free: 6.906 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.9655, allocations: 1.197 MB / 1.45 GB, free: 5.699 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.729e-05/0.9656, allocations: 49.7 kB / 1.45 GB, free: 5.645 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/0.9661, allocations: 0.5453 MB / 1.45 GB, free: 5.094 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.9664, allocations: 341.2 kB / 1.451 GB, free: 4.758 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003831/0.9668, allocations: 190.6 kB / 1.451 GB, free: 4.566 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.967, allocations: 341.9 kB / 1.451 GB, free: 4.227 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/0.9695, allocations: 0.6967 MB / 1.452 GB, free: 3.531 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002666/0.9722, allocations: 0.9074 MB / 1.453 GB, free: 2.551 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004949/0.9771, allocations: 1.561 MB / 1.454 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.9771, allocations: 4 kB / 1.454 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005531/0.9827, allocations: 1.781 MB / 1.456 GB, free: 15.14 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.9827, allocations: 8 kB / 1.456 GB, free: 15.13 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.9827, allocations: 4 kB / 1.456 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.9828, allocations: 12 kB / 1.456 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.9847, allocations: 343.9 kB / 1.456 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.9847, allocations: 12 kB / 1.456 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.9863, allocations: 235 kB / 1.456 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.9864, allocations: 47.97 kB / 1.456 GB, free: 14.49 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005093/0.9869, allocations: 339.4 kB / 1.457 GB, free: 14.15 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.9871, allocations: 151.1 kB / 1.457 GB, free: 14 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005797/0.9929, allocations: 1.811 MB / 1.459 GB, free: 12.19 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.993, allocations: 8 kB / 1.459 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.993, allocations: 0 / 1.459 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.993, allocations: 3.984 kB / 1.459 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007889/1.001, allocations: 3.355 MB / 1.462 GB, free: 8.711 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.001, allocations: 4 kB / 1.462 GB, free: 8.707 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/1.003, allocations: 288 kB / 1.462 GB, free: 8.426 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/1.003, allocations: 8 kB / 1.462 GB, free: 8.418 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.936e-05/1.003, allocations: 31.97 kB / 1.462 GB, free: 8.387 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/1.003, allocations: 12 kB / 1.462 GB, free: 8.375 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.003, allocations: 7.938 kB / 1.462 GB, free: 8.367 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0082/1.011, allocations: 2.848 MB / 1.465 GB, free: 5.453 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00049/1.012, allocations: 331.9 kB / 1.465 GB, free: 5.109 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/1.012, allocations: 23.98 kB / 1.465 GB, free: 5.086 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/1.013, allocations: 155.8 kB / 1.466 GB, free: 4.934 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.013, allocations: 76.44 kB / 1.466 GB, free: 4.859 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/1.014, allocations: 43.95 kB / 1.466 GB, free: 4.816 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001055/1.015, allocations: 0.8315 MB / 1.467 GB, free: 3.98 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.61e-07/1.015, allocations: 4 kB / 1.467 GB, free: 3.977 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009601/1.016, allocations: 339.7 kB / 1.467 GB, free: 3.645 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.01043/1.026, allocations: 3.844 MB / 1.471 GB, free: 15.9 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00535/1.031, allocations: 1.634 MB / 1.472 GB, free: 14.27 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.031, allocations: 0 / 1.472 GB, free: 14.27 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002665/1.034, allocations: 0.8361 MB / 1.473 GB, free: 13.43 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/1.037, allocations: 0.6143 MB / 1.474 GB, free: 12.82 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02556/1.062, allocations: 12.08 MB / 1.485 GB, free: 404 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008929/1.063, allocations: 1.179 MB / 1.487 GB, free: 15.19 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00129/1.065, allocations: 366 kB / 1.487 GB, free: 14.83 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008926/1.066, allocations: 0.5031 MB / 1.487 GB, free: 14.32 MB / 1.217 GB Notification: Performance of SimCode: time 4.21e-07/1.066, allocations: 0 / 1.487 GB, free: 14.32 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0718/1.137, allocations: 35.69 MB / 1.522 GB, free: 11.06 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/11.3, allocations: 15.86 kB / 1.522 GB, free: 11.05 MB / 1.248 GB (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv --start-time 0 --stop-time 1200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches