Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_9_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.009572/0.009573, allocations: 99.81 kB / 15.73 MB, free: 6.059 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.001591/0.001592, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 0.9504 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.068, allocations: 140.4 MB / 1.088 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03595/1.104, allocations: 29.35 MB / 1.116 GB, free: 192 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01342/1.117, allocations: 6.872 MB / 1.123 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/1.12, allocations: 50.53 kB / 1.123 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002182/1.122, allocations: 0.6971 MB / 1.124 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00517/1.127, allocations: 1.513 MB / 1.125 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003646/1.131, allocations: 1.159 MB / 1.126 GB, free: 9.543 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004304/1.135, allocations: 2.476 MB / 1.129 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00156/1.137, allocations: 0.797 MB / 1.129 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/1.139, allocations: 1.045 MB / 1.13 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/1.141, allocations: 0.8129 MB / 1.131 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/1.141, allocations: 66.41 kB / 1.131 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/1.144, allocations: 0.82 MB / 1.132 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003905/1.144, allocations: 282.6 kB / 1.132 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008923/1.145, allocations: 0.5506 MB / 1.133 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004777/1.15, allocations: 1.632 MB / 1.134 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.15, allocations: 0 / 1.134 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.285e-06/1.15, allocations: 0 / 1.134 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.058e-05/1.15, allocations: 5.375 kB / 1.134 GB, free: 5.867 MB / 0.8887 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.003613/1.154, allocations: 1.61 MB / 1.136 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.154, allocations: 9.094 kB / 1.136 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/1.154, allocations: 116.3 kB / 1.136 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003918/1.158, allocations: 0.5931 MB / 1.137 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/1.16, allocations: 0.8838 MB / 1.138 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/1.16, allocations: 57.55 kB / 1.138 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/1.16, allocations: 73.69 kB / 1.138 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003363/1.163, allocations: 1.105 MB / 1.139 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/1.163, allocations: 6.062 kB / 1.139 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.469e-05/1.163, allocations: 28.34 kB / 1.139 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/1.164, allocations: 18.28 kB / 1.139 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003496/1.167, allocations: 0.9993 MB / 1.14 GB, free: 3.176 MB / 0.8887 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.00729/1.174, allocations: 4.948 MB / 1.145 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/1.178, allocations: 0.9023 MB / 1.146 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/1.179, allocations: 492.3 kB / 1.146 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/1.181, allocations: 1.592 MB / 1.148 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002027/1.183, allocations: 0.5724 MB / 1.148 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=61): time 3.176e-06/1.183, allocations: 0 / 1.148 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=61): time 0.005558/1.188, allocations: 1.491 MB / 1.15 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/1.188, allocations: 66.05 kB / 1.15 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/1.19, allocations: 1.11 MB / 1.151 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/1.19, allocations: 47.66 kB / 1.151 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/1.191, allocations: 0.5545 MB / 1.151 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/1.191, allocations: 217.1 kB / 1.152 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003123/1.191, allocations: 165.8 kB / 1.152 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.191, allocations: 338.9 kB / 1.152 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/1.193, allocations: 446.5 kB / 1.152 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/1.195, allocations: 0.7194 MB / 1.153 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003261/1.198, allocations: 1.118 MB / 1.154 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.198, allocations: 2.188 kB / 1.154 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003961/1.202, allocations: 1.28 MB / 1.155 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.202, allocations: 8.047 kB / 1.156 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.202, allocations: 12.81 kB / 1.156 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/1.202, allocations: 12.19 kB / 1.156 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.203, allocations: 271.2 kB / 1.156 GB, free: 9.355 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.491e-05/1.203, allocations: 17.38 kB / 1.156 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/1.205, allocations: 182.1 kB / 1.156 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.205, allocations: 47.3 kB / 1.156 GB, free: 9.277 MB / 0.9044 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.0005858/1.206, allocations: 292.5 kB / 1.156 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/1.206, allocations: 127.7 kB / 1.156 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004221/1.21, allocations: 1.359 MB / 1.158 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.889e-05/1.21, allocations: 10.89 kB / 1.158 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.21, allocations: 0.75 kB / 1.158 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/1.21, allocations: 0.9688 kB / 1.158 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006014/1.216, allocations: 2.375 MB / 1.16 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.216, allocations: 1.312 kB / 1.16 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.217, allocations: 190.4 kB / 1.16 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/1.217, allocations: 8.438 kB / 1.16 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/1.217, allocations: 25.28 kB / 1.16 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/1.217, allocations: 4.031 kB / 1.16 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.217, allocations: 6.125 kB / 1.16 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/1.223, allocations: 1.977 MB / 1.162 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007078/1.224, allocations: 286.1 kB / 1.163 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/1.224, allocations: 18.34 kB / 1.163 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.225, allocations: 101.2 kB / 1.163 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/1.225, allocations: 60.2 kB / 1.163 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-05/1.225, allocations: 37.28 kB / 1.163 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001084/1.226, allocations: 0.7673 MB / 1.163 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.226, allocations: 0 / 1.163 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001465/1.228, allocations: 347.6 kB / 1.164 GB, free: 4.918 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.007135/1.235, allocations: 3.081 MB / 1.167 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00352/1.238, allocations: 1.111 MB / 1.168 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.238, allocations: 0 / 1.168 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001663/1.24, allocations: 0.5762 MB / 1.168 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/1.242, allocations: 458.5 kB / 1.169 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/1.261, allocations: 9.629 MB / 1.178 GB, free: 12.23 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/1.262, allocations: 1.106 MB / 1.179 GB, free: 11.34 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001112/1.263, allocations: 240.8 kB / 1.18 GB, free: 11.23 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006641/1.264, allocations: 467.1 kB / 1.18 GB, free: 10.84 MB / 0.92 GB Notification: Performance of SimCode: time 7.01e-07/1.264, allocations: 4 kB / 1.18 GB, free: 10.84 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05805/1.322, allocations: 30.64 MB / 1.21 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/11.68, allocations: 7.812 kB / 1.21 GB, free: 15.57 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches