Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_9_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.001464/0.001464, 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.001825/0.001825, allocations: 193.9 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.306/1.306, 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 9.1.3-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.89 kB / 0.8126 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6107/0.6122, allocations: 140.4 MB / 0.9497 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1995/0.8117, allocations: 193.8 MB / 1.139 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008819/0.8205, allocations: 5.149 MB / 1.144 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.822, allocations: 51.62 kB / 1.144 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.8244, allocations: 0.8003 MB / 1.145 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007084/0.8315, allocations: 2.606 MB / 1.147 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.8344, allocations: 1.111 MB / 1.148 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003853/0.8383, allocations: 2.676 MB / 1.151 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.8401, allocations: 0.9367 MB / 1.152 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.8427, allocations: 1.094 MB / 1.153 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.8446, allocations: 1 MB / 1.154 GB, free: 15.78 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003732/0.845, allocations: 88 kB / 1.154 GB, free: 15.69 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004056/0.8491, allocations: 1.785 MB / 1.156 GB, free: 13.9 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006052/0.8497, allocations: 450.6 kB / 1.156 GB, free: 13.46 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.8508, allocations: 0.6643 MB / 1.157 GB, free: 12.79 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004906/0.8557, allocations: 2.181 MB / 1.159 GB, free: 10.61 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.8557, allocations: 0 / 1.159 GB, free: 10.61 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8558, allocations: 0 / 1.159 GB, free: 10.61 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.313e-05/0.8558, allocations: 0 / 1.159 GB, free: 10.61 MB / 0.92 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.005936/0.8618, allocations: 1.953 MB / 1.161 GB, free: 8.59 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.8618, allocations: 8.031 kB / 1.161 GB, free: 8.582 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/0.8621, allocations: 139.6 kB / 1.161 GB, free: 8.438 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005963/0.868, allocations: 0.8955 MB / 1.162 GB, free: 7.539 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.8699, allocations: 0.9097 MB / 1.163 GB, free: 6.574 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.87, allocations: 65.98 kB / 1.163 GB, free: 6.508 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/0.8703, allocations: 91.98 kB / 1.163 GB, free: 6.418 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003988/0.8743, allocations: 1.583 MB / 1.165 GB, free: 4.805 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.8743, allocations: 4 kB / 1.165 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.8745, allocations: 39.98 kB / 1.165 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.716e-05/0.8745, allocations: 45.92 kB / 1.165 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005562/0.8801, allocations: 1.85 MB / 1.166 GB, free: 2.863 MB / 0.92 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.008059/0.8882, allocations: 4.758 MB / 1.171 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004679/0.8929, allocations: 1.552 MB / 1.173 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002409/0.8953, allocations: 0.8508 MB / 1.173 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/0.8967, allocations: 0.949 MB / 1.174 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002641/0.8994, allocations: 0.9144 MB / 1.175 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=95): time 3.947e-06/0.8994, allocations: 0 / 1.175 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95): time 0.008088/0.9075, allocations: 2.454 MB / 1.178 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.9076, allocations: 64.34 kB / 1.178 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.9092, allocations: 1.201 MB / 1.179 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.9094, allocations: 41.7 kB / 1.179 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/0.9099, allocations: 0.5447 MB / 1.18 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.9102, allocations: 323.4 kB / 1.18 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.9106, allocations: 186.5 kB / 1.18 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9107, allocations: 345.9 kB / 1.18 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/0.913, allocations: 0.7005 MB / 1.181 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/0.9155, allocations: 0.9035 MB / 1.182 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004534/0.92, allocations: 1.561 MB / 1.183 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.92, allocations: 0 / 1.183 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005518/0.9256, allocations: 1.776 MB / 1.185 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.9256, allocations: 8 kB / 1.185 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.9256, allocations: 4 kB / 1.185 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/0.9257, allocations: 11.98 kB / 1.185 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.9275, allocations: 347.9 kB / 1.186 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.668e-05/0.9276, allocations: 11.94 kB / 1.186 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.9294, allocations: 238.7 kB / 1.186 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.9295, allocations: 47.97 kB / 1.186 GB, free: 14.46 MB / 0.9512 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.0006747/0.9302, allocations: 347.7 kB / 1.186 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.9306, allocations: 134.3 kB / 1.186 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005376/0.936, allocations: 1.796 MB / 1.188 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.936, allocations: 8 kB / 1.188 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.936, allocations: 0 / 1.188 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.9361, allocations: 11.97 kB / 1.188 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007774/0.9438, allocations: 3.32 MB / 1.191 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.9439, allocations: 4 kB / 1.191 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/0.9457, allocations: 292.1 kB / 1.192 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.071e-05/0.9457, allocations: 11.98 kB / 1.192 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.9459, allocations: 35.91 kB / 1.192 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.009e-05/0.9459, allocations: 15.92 kB / 1.192 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.9459, allocations: 4.094 kB / 1.192 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008125/0.9541, allocations: 2.851 MB / 1.194 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006988/0.9548, allocations: 323.1 kB / 1.195 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/0.9551, allocations: 24 kB / 1.195 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/0.9568, allocations: 163.8 kB / 1.195 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.957, allocations: 68.45 kB / 1.195 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.737e-05/0.9571, allocations: 43.97 kB / 1.195 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001215/0.9583, allocations: 0.8275 MB / 1.196 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9583, allocations: 0 / 1.196 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001343/0.9596, allocations: 339.7 kB / 1.196 GB, free: 3.664 MB / 0.9512 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.009794/0.9695, allocations: 3.832 MB / 1.2 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005768/0.9753, allocations: 1.778 MB / 1.202 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.9753, allocations: 0 / 1.202 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/0.9779, allocations: 0.8438 MB / 1.202 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003127/0.981, allocations: 0.6205 MB / 1.203 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0268/1.008, allocations: 12.87 MB / 1.216 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/1.009, allocations: 1.183 MB / 1.217 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001907/1.011, allocations: 366 kB / 1.217 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009918/1.012, allocations: 0.5032 MB / 1.218 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of SimCode: time 1.553e-06/1.012, allocations: 0 / 1.218 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.534/1.546, allocations: 35.3 MB / 1.252 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.44/9.986, allocations: 6.578 kB / 1.252 GB, free: 285.4 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_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.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches