Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_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.00552/0.005521, allocations: 99.95 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.001225/0.001225, allocations: 189.4 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.564/2.564, allocations: 469.4 MB / 0.7422 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 1.064 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7997/0.8011, allocations: 159.1 MB / 1.22 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03524/0.8364, allocations: 29.34 MB / 1.248 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01106/0.8475, allocations: 6.885 MB / 1.255 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.8491, allocations: 43.69 kB / 1.255 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.8512, allocations: 0.707 MB / 1.256 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004584/0.8558, allocations: 1.509 MB / 1.257 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.8591, allocations: 1.161 MB / 1.258 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003568/0.8627, allocations: 2.485 MB / 1.261 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.8643, allocations: 0.7904 MB / 1.262 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.8667, allocations: 1.039 MB / 1.263 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.8682, allocations: 0.813 MB / 1.263 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003009/0.8685, allocations: 68 kB / 1.264 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.8708, allocations: 0.8148 MB / 1.264 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004598/0.8713, allocations: 278.9 kB / 1.265 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.8723, allocations: 0.5592 MB / 1.265 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00383/0.8762, allocations: 1.63 MB / 1.267 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.8762, allocations: 8 kB / 1.267 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8762, allocations: 0 / 1.267 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.261e-05/0.8763, allocations: 0 / 1.267 GB, free: 1.941 MB / 0.9825 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.003321/0.8796, allocations: 1.604 MB / 1.268 GB, free: 288 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.8796, allocations: 16.62 kB / 1.268 GB, free: 272 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.8798, allocations: 114.7 kB / 1.268 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00367/0.8835, allocations: 0.5931 MB / 1.269 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.8854, allocations: 0.8768 MB / 1.27 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.029e-05/0.8855, allocations: 62.12 kB / 1.27 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.8857, allocations: 75.98 kB / 1.27 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/0.8884, allocations: 1.096 MB / 1.271 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.8884, allocations: 0 / 1.271 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.251e-05/0.8885, allocations: 32 kB / 1.271 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.8885, allocations: 20 kB / 1.271 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.8917, allocations: 1 MB / 1.272 GB, free: 12.25 MB / 0.9981 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.006089/0.8978, allocations: 4.955 MB / 1.277 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/0.901, allocations: 0.9118 MB / 1.278 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.9025, allocations: 490.4 kB / 1.278 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.9039, allocations: 1.587 MB / 1.28 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001835/0.9057, allocations: 0.5729 MB / 1.28 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=61): time 5.139e-06/0.9058, allocations: 0 / 1.28 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=61): time 0.005168/0.9109, allocations: 1.486 MB / 1.282 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.911, allocations: 63.95 kB / 1.282 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.9126, allocations: 1.12 MB / 1.283 GB, free: 404 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.9127, allocations: 37.7 kB / 1.283 GB, free: 360 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.9131, allocations: 0.5559 MB / 1.284 GB, free: 15.79 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.9134, allocations: 214.2 kB / 1.284 GB, free: 15.58 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/0.9137, allocations: 170.5 kB / 1.284 GB, free: 15.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.9138, allocations: 333.9 kB / 1.284 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001527/0.9154, allocations: 457.6 kB / 1.285 GB, free: 14.63 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.9172, allocations: 0.7128 MB / 1.285 GB, free: 13.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/0.9204, allocations: 1.117 MB / 1.287 GB, free: 12.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.9204, allocations: 4 kB / 1.287 GB, free: 12.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003911/0.9244, allocations: 1.278 MB / 1.288 GB, free: 11.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.9244, allocations: 8.938 kB / 1.288 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.9244, allocations: 8 kB / 1.288 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.9245, allocations: 16 kB / 1.288 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.9258, allocations: 263.6 kB / 1.288 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/0.9258, allocations: 19.92 kB / 1.288 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.9272, allocations: 187.2 kB / 1.288 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.9274, allocations: 43.97 kB / 1.288 GB, free: 10.76 MB / 1.014 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.0005925/0.928, allocations: 291.8 kB / 1.289 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.9283, allocations: 131.1 kB / 1.289 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.9325, allocations: 1.359 MB / 1.29 GB, free: 8.965 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.9325, allocations: 8 kB / 1.29 GB, free: 8.957 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.9325, allocations: 4 kB / 1.29 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.9326, allocations: 7.984 kB / 1.29 GB, free: 8.945 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005663/0.9382, allocations: 2.37 MB / 1.292 GB, free: 6.504 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.9383, allocations: 0 / 1.292 GB, free: 6.504 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.9394, allocations: 195.9 kB / 1.293 GB, free: 6.312 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/0.9394, allocations: 4 kB / 1.293 GB, free: 6.309 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.092e-05/0.9395, allocations: 23.97 kB / 1.293 GB, free: 6.285 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.9395, allocations: 7.938 kB / 1.293 GB, free: 6.277 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.9395, allocations: 7.938 kB / 1.293 GB, free: 6.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005527/0.9451, allocations: 1.974 MB / 1.295 GB, free: 4.262 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006531/0.9457, allocations: 284 kB / 1.295 GB, free: 3.965 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.946, allocations: 16 kB / 1.295 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.9471, allocations: 107.9 kB / 1.295 GB, free: 3.844 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.9473, allocations: 64.36 kB / 1.295 GB, free: 3.781 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.598e-05/0.9473, allocations: 31.97 kB / 1.295 GB, free: 3.75 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001057/0.9484, allocations: 0.7638 MB / 1.296 GB, free: 2.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9484, allocations: 0 / 1.296 GB, free: 2.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001311/0.9497, allocations: 343.3 kB / 1.296 GB, free: 2.645 MB / 1.014 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.007265/0.957, allocations: 3.09 MB / 1.299 GB, free: 15.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003491/0.9605, allocations: 1.114 MB / 1.3 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.9606, allocations: 0 / 1.3 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.9623, allocations: 0.5736 MB / 1.301 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.9647, allocations: 462.5 kB / 1.301 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/0.9843, allocations: 9.611 MB / 1.311 GB, free: 3.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/0.9851, allocations: 1.108 MB / 1.312 GB, free: 2.418 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009589/0.9861, allocations: 244.7 kB / 1.312 GB, free: 2.176 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006774/0.9868, allocations: 463.2 kB / 1.312 GB, free: 1.723 MB / 1.029 GB Notification: Performance of SimCode: time 9.92e-07/0.9868, allocations: 0 / 1.312 GB, free: 1.723 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06476/1.052, allocations: 30.67 MB / 1.342 GB, free: 3.441 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.43, allocations: 9.141 kB / 1.342 GB, free: 3.434 MB / 1.061 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches