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.008544/0.008544, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001719/0.001719, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.547/1.547, allocations: 222.9 MB / 240.4 MB, free: 4.281 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.532/2.532, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 62.98 kB / 0.9504 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3137, allocations: 140.4 MB / 1.088 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 1.117/1.431, allocations: 193.8 MB / 1.277 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01043/1.442, allocations: 5.155 MB / 1.282 GB, free: 3.02 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/1.443, allocations: 49.94 kB / 1.282 GB, free: 3.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002462/1.446, allocations: 0.8114 MB / 1.283 GB, free: 3.004 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009472/1.455, allocations: 2.598 MB / 1.285 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003936/1.459, allocations: 1.112 MB / 1.286 GB, free: 2.883 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005416/1.465, allocations: 2.684 MB / 1.289 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/1.467, allocations: 0.94 MB / 1.29 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/1.47, allocations: 1.104 MB / 1.291 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/1.472, allocations: 0.9969 MB / 1.292 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002486/1.473, allocations: 87.47 kB / 1.292 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004723/1.477, allocations: 1.786 MB / 1.294 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007356/1.478, allocations: 449.1 kB / 1.294 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/1.479, allocations: 0.6675 MB / 1.295 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005073/1.485, allocations: 2.212 MB / 1.297 GB, free: 2.469 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.485, allocations: 1.625 kB / 1.297 GB, free: 2.469 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.323e-06/1.485, allocations: 0 / 1.297 GB, free: 2.469 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.892e-05/1.485, allocations: 1.156 kB / 1.297 GB, free: 2.469 MB / 1.014 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.006127/1.491, allocations: 1.954 MB / 1.299 GB, free: 1.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/1.491, allocations: 8.531 kB / 1.299 GB, free: 1.52 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002132/1.491, allocations: 141.1 kB / 1.299 GB, free: 1.48 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005954/1.497, allocations: 0.8988 MB / 1.3 GB, free: 1.398 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/1.499, allocations: 0.9766 MB / 1.301 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/1.499, allocations: 67.56 kB / 1.301 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/1.499, allocations: 96.03 kB / 1.301 GB, free: 1.004 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004181/1.503, allocations: 1.587 MB / 1.303 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/1.504, allocations: 0.7812 kB / 1.303 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/1.504, allocations: 32.91 kB / 1.303 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-05/1.504, allocations: 50.69 kB / 1.303 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005454/1.509, allocations: 1.846 MB / 1.304 GB, free: 0.8672 MB / 1.014 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.008364/1.518, allocations: 4.733 MB / 1.309 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/1.522, allocations: 1.57 MB / 1.311 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002492/1.525, allocations: 0.8457 MB / 1.311 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/1.526, allocations: 0.9464 MB / 1.312 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002572/1.529, allocations: 0.9147 MB / 1.313 GB, free: 13.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=95): time 3.427e-06/1.529, allocations: 0 / 1.313 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=95): time 0.008308/1.537, allocations: 2.447 MB / 1.316 GB, free: 13.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/1.537, allocations: 69.28 kB / 1.316 GB, free: 13.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/1.539, allocations: 1.197 MB / 1.317 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/1.539, allocations: 48.11 kB / 1.317 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004541/1.54, allocations: 0.5413 MB / 1.317 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003651/1.54, allocations: 327.1 kB / 1.318 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003748/1.54, allocations: 186.7 kB / 1.318 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.54, allocations: 340.7 kB / 1.318 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/1.543, allocations: 0.7054 MB / 1.319 GB, free: 12.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/1.545, allocations: 0.9035 MB / 1.32 GB, free: 12.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004531/1.55, allocations: 1.557 MB / 1.321 GB, free: 12.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/1.55, allocations: 3.75 kB / 1.321 GB, free: 12.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005288/1.555, allocations: 1.774 MB / 1.323 GB, free: 12.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/1.555, allocations: 8.719 kB / 1.323 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/1.555, allocations: 6.781 kB / 1.323 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/1.555, allocations: 11.22 kB / 1.323 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/1.557, allocations: 344.6 kB / 1.323 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/1.557, allocations: 10.72 kB / 1.323 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/1.559, allocations: 241.6 kB / 1.324 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/1.559, allocations: 49.59 kB / 1.324 GB, free: 12.1 MB / 1.029 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.000818/1.56, allocations: 331.7 kB / 1.324 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/1.56, allocations: 130.9 kB / 1.324 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005295/1.565, allocations: 1.809 MB / 1.326 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.565, allocations: 10.78 kB / 1.326 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.565, allocations: 1.125 kB / 1.326 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/1.565, allocations: 5.672 kB / 1.326 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00774/1.573, allocations: 3.324 MB / 1.329 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.573, allocations: 10.34 kB / 1.329 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/1.575, allocations: 290.2 kB / 1.329 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.797e-05/1.575, allocations: 8.031 kB / 1.329 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/1.575, allocations: 42.95 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/1.575, allocations: 13.97 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.575, allocations: 6.438 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007556/1.583, allocations: 2.836 MB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009076/1.584, allocations: 323.1 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/1.584, allocations: 30.3 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/1.585, allocations: 159.7 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/1.586, allocations: 69.02 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.945e-05/1.586, allocations: 42.81 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001155/1.587, allocations: 0.8389 MB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.587, allocations: 0 / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001272/1.588, allocations: 340.6 kB / 1.334 GB, free: 10.46 MB / 1.029 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.009025/1.597, allocations: 3.813 MB / 1.338 GB, free: 9.105 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005126/1.602, allocations: 1.633 MB / 1.339 GB, free: 8.711 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-05/1.602, allocations: 0 / 1.339 GB, free: 8.711 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002628/1.605, allocations: 0.8429 MB / 1.34 GB, free: 8.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/1.608, allocations: 0.6205 MB / 1.341 GB, free: 8.312 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02518/1.634, allocations: 12.04 MB / 1.353 GB, free: 2.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/1.634, allocations: 1.181 MB / 1.354 GB, free: 1.656 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001513/1.636, allocations: 366 kB / 1.354 GB, free: 1.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007714/1.637, allocations: 0.4959 MB / 1.355 GB, free: 1.066 MB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/1.637, allocations: 3.594 kB / 1.355 GB, free: 1.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07126/1.708, allocations: 35.69 MB / 1.389 GB, free: 3.262 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/12.14, allocations: 13.77 kB / 1.389 GB, free: 3.254 MB / 1.061 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