Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_10_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.007983/0.007983, allocations: 99.33 kB / 15.73 MB, free: 6.445 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.001315/0.001315, allocations: 194.6 kB / 16.67 MB, free: 6.348 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.691/2.691, allocations: 437.1 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3703, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 1.008/1.378, allocations: 193.8 MB / 1.355 GB, free: 448 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01075/1.389, allocations: 5.15 MB / 1.36 GB, free: 12.83 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002392/1.391, allocations: 46.62 kB / 1.361 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002545/1.394, allocations: 0.8152 MB / 1.361 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008243/1.402, allocations: 2.599 MB / 1.364 GB, free: 11.08 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003449/1.406, allocations: 1.117 MB / 1.365 GB, free: 10.53 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004539/1.41, allocations: 2.681 MB / 1.368 GB, free: 9.305 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/1.412, allocations: 0.9367 MB / 1.369 GB, free: 8.719 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/1.415, allocations: 1.112 MB / 1.37 GB, free: 8.094 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/1.416, allocations: 0.987 MB / 1.371 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002245/1.417, allocations: 86.81 kB / 1.371 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004041/1.421, allocations: 1.786 MB / 1.372 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005874/1.421, allocations: 452.1 kB / 1.373 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/1.422, allocations: 0.6699 MB / 1.373 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004518/1.427, allocations: 2.211 MB / 1.376 GB, free: 4.43 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.427, allocations: 5.375 kB / 1.376 GB, free: 4.426 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.374e-06/1.427, allocations: 0 / 1.376 GB, free: 4.426 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.785e-05/1.427, allocations: 0 / 1.376 GB, free: 4.426 MB / 1.045 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.005411/1.432, allocations: 2.006 MB / 1.378 GB, free: 2.926 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/1.432, allocations: 10.09 kB / 1.378 GB, free: 2.926 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/1.432, allocations: 140.9 kB / 1.378 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005365/1.438, allocations: 0.8979 MB / 1.379 GB, free: 2.395 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/1.44, allocations: 0.9851 MB / 1.38 GB, free: 1.629 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/1.44, allocations: 66.61 kB / 1.38 GB, free: 1.602 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/1.44, allocations: 92.02 kB / 1.38 GB, free: 1.57 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/1.444, allocations: 1.591 MB / 1.381 GB, free: 0.625 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/1.444, allocations: 0 / 1.381 GB, free: 0.625 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/1.444, allocations: 37.44 kB / 1.381 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/1.444, allocations: 47.98 kB / 1.381 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005148/1.449, allocations: 1.845 MB / 1.383 GB, free: 15.7 MB / 1.061 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.008061/1.457, allocations: 4.75 MB / 1.388 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004314/1.462, allocations: 1.563 MB / 1.389 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002241/1.464, allocations: 0.856 MB / 1.39 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/1.465, allocations: 0.9444 MB / 1.391 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002518/1.468, allocations: 0.9103 MB / 1.392 GB, free: 9.254 MB / 1.061 GB Notification: Performance of pre-optimization done (n=95): time 5.23e-06/1.468, allocations: 0 / 1.392 GB, free: 9.254 MB / 1.061 GB Notification: Performance of matching and sorting (n=95): time 0.007735/1.476, allocations: 2.469 MB / 1.394 GB, free: 8.066 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/1.476, allocations: 62.47 kB / 1.394 GB, free: 8.004 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/1.477, allocations: 1.2 MB / 1.396 GB, free: 7.395 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/1.478, allocations: 43.36 kB / 1.396 GB, free: 7.352 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000479/1.478, allocations: 0.5475 MB / 1.396 GB, free: 6.867 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003419/1.478, allocations: 339.8 kB / 1.397 GB, free: 6.574 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003542/1.479, allocations: 189.5 kB / 1.397 GB, free: 6.461 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.479, allocations: 344.1 kB / 1.397 GB, free: 6.129 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/1.481, allocations: 0.7009 MB / 1.398 GB, free: 5.789 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/1.484, allocations: 0.9158 MB / 1.399 GB, free: 5.223 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00439/1.488, allocations: 1.549 MB / 1.4 GB, free: 4.355 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/1.488, allocations: 4.031 kB / 1.4 GB, free: 4.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005338/1.493, allocations: 1.795 MB / 1.402 GB, free: 2.902 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/1.493, allocations: 4 kB / 1.402 GB, free: 2.898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/1.493, allocations: 4 kB / 1.402 GB, free: 2.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/1.493, allocations: 12 kB / 1.402 GB, free: 2.883 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/1.495, allocations: 344.6 kB / 1.402 GB, free: 2.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/1.495, allocations: 11.98 kB / 1.402 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.497, allocations: 235 kB / 1.402 GB, free: 2.305 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/1.497, allocations: 47.97 kB / 1.402 GB, free: 2.258 MB / 1.061 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.0006512/1.498, allocations: 339.4 kB / 1.403 GB, free: 1.922 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/1.498, allocations: 143.1 kB / 1.403 GB, free: 1.781 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00535/1.503, allocations: 1.812 MB / 1.405 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/1.504, allocations: 8 kB / 1.405 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.504, allocations: 0 / 1.405 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/1.504, allocations: 3.984 kB / 1.405 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007845/1.511, allocations: 3.321 MB / 1.408 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.511, allocations: 4 kB / 1.408 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/1.513, allocations: 295.9 kB / 1.408 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/1.513, allocations: 8 kB / 1.408 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/1.513, allocations: 31.97 kB / 1.408 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/1.513, allocations: 8 kB / 1.408 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/1.513, allocations: 11.94 kB / 1.408 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00777/1.521, allocations: 2.844 MB / 1.411 GB, free: 9.266 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007757/1.522, allocations: 331.9 kB / 1.411 GB, free: 8.922 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/1.522, allocations: 23.98 kB / 1.411 GB, free: 8.898 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.523, allocations: 159.8 kB / 1.412 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/1.524, allocations: 68.45 kB / 1.412 GB, free: 8.676 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.524, allocations: 43.97 kB / 1.412 GB, free: 8.633 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001199/1.525, allocations: 0.8314 MB / 1.413 GB, free: 7.797 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/1.525, allocations: 4 kB / 1.413 GB, free: 7.793 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001138/1.526, allocations: 343.7 kB / 1.413 GB, free: 7.457 MB / 1.076 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.00985/1.536, allocations: 3.83 MB / 1.417 GB, free: 3.723 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005081/1.541, allocations: 1.634 MB / 1.418 GB, free: 2.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.541, allocations: 4 kB / 1.418 GB, free: 2.086 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002497/1.544, allocations: 0.84 MB / 1.419 GB, free: 1.246 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/1.547, allocations: 0.6204 MB / 1.42 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02569/1.573, allocations: 12.08 MB / 1.431 GB, free: 4.223 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008894/1.573, allocations: 1.183 MB / 1.433 GB, free: 3.012 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001524/1.575, allocations: 370 kB / 1.433 GB, free: 2.648 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009127/1.576, allocations: 0.5032 MB / 1.433 GB, free: 2.145 MB / 1.092 GB Notification: Performance of SimCode: time 8.82e-07/1.576, allocations: 0 / 1.433 GB, free: 2.145 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08094/1.657, allocations: 35.68 MB / 1.468 GB, free: 14.88 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12.8, allocations: 17.61 kB / 1.468 GB, free: 14.87 MB / 1.139 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches