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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001391/0.001391, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 469.4 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.001561, allocations: 64.95 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3585, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.5349/0.8934, allocations: 29.33 MB / 1.093 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009903/0.9034, allocations: 6.877 MB / 1.1 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/0.9055, allocations: 47.16 kB / 1.1 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.9075, allocations: 0.6891 MB / 1.1 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00476/0.9124, allocations: 1.458 MB / 1.102 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003558/0.9159, allocations: 1.155 MB / 1.103 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004055/0.92, allocations: 2.466 MB / 1.105 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.9216, allocations: 0.792 MB / 1.106 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002566/0.9242, allocations: 1.006 MB / 1.107 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.926, allocations: 0.8156 MB / 1.108 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.9263, allocations: 66.06 kB / 1.108 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.929, allocations: 0.8229 MB / 1.109 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004589/0.9295, allocations: 277.1 kB / 1.109 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.9307, allocations: 0.558 MB / 1.109 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003525/0.9342, allocations: 1.584 MB / 1.111 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.9343, allocations: 1.125 kB / 1.111 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9343, allocations: 3.938 kB / 1.111 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.117e-05/0.9343, allocations: 0 / 1.111 GB, free: 13.39 MB / 0.8575 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.00325/0.9376, allocations: 1.569 MB / 1.113 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.9376, allocations: 10.45 kB / 1.113 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/0.9415, allocations: 0.5881 MB / 1.113 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.9433, allocations: 0.7972 MB / 1.114 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/0.9434, allocations: 60.02 kB / 1.114 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.9436, allocations: 77.14 kB / 1.114 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/0.9463, allocations: 1.105 MB / 1.115 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.9464, allocations: 2.109 kB / 1.115 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/0.9465, allocations: 31.88 kB / 1.115 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.9465, allocations: 18.88 kB / 1.115 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00359/0.9501, allocations: 1.002 MB / 1.116 GB, free: 10.84 MB / 0.8575 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.006597/0.9567, allocations: 4.945 MB / 1.121 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/0.9598, allocations: 0.9031 MB / 1.122 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.9613, allocations: 485 kB / 1.122 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/0.9628, allocations: 1.588 MB / 1.124 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00179/0.9646, allocations: 0.5759 MB / 1.124 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=61): time 6.072e-06/0.9646, allocations: 0 / 1.124 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=61): time 0.005145/0.9698, allocations: 1.494 MB / 1.126 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.9698, allocations: 62.12 kB / 1.126 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.9719, allocations: 1.111 MB / 1.127 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.817e-05/0.972, allocations: 39.23 kB / 1.127 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/0.9725, allocations: 0.5457 MB / 1.128 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002427/0.9727, allocations: 209.4 kB / 1.128 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.9731, allocations: 169 kB / 1.128 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9732, allocations: 335.5 kB / 1.128 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.9748, allocations: 449.4 kB / 1.129 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.9766, allocations: 0.7113 MB / 1.129 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003248/0.9799, allocations: 1.125 MB / 1.131 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.9799, allocations: 7.281 kB / 1.131 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004112/0.984, allocations: 1.271 MB / 1.132 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.9841, allocations: 9.891 kB / 1.132 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.9841, allocations: 7.688 kB / 1.132 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.9e-05/0.9842, allocations: 14.89 kB / 1.132 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.9855, allocations: 267.5 kB / 1.132 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.157e-05/0.9855, allocations: 18.5 kB / 1.132 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.987, allocations: 188.6 kB / 1.132 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.9872, allocations: 46.61 kB / 1.132 GB, free: 1 MB / 0.8575 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.0007341/0.9879, allocations: 297.3 kB / 1.133 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004144/0.9883, allocations: 122.3 kB / 1.133 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004377/0.9927, allocations: 1.36 MB / 1.134 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.283e-05/0.9928, allocations: 14.11 kB / 1.134 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.9928, allocations: 0.7031 kB / 1.134 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.9928, allocations: 4.453 kB / 1.134 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006477/0.9993, allocations: 2.367 MB / 1.136 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.9994, allocations: 2.219 kB / 1.136 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/1, allocations: 186.4 kB / 1.137 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-05/1, allocations: 9.156 kB / 1.137 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.589e-05/1.001, allocations: 28.75 kB / 1.137 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/1.001, allocations: 8.406 kB / 1.137 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.001, allocations: 2.188 kB / 1.137 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005786/1.006, allocations: 1.976 MB / 1.139 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006982/1.007, allocations: 277.9 kB / 1.139 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003351/1.008, allocations: 20.61 kB / 1.139 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.009, allocations: 101.6 kB / 1.139 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/1.009, allocations: 54.44 kB / 1.139 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.344e-05/1.009, allocations: 38.41 kB / 1.139 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001227/1.01, allocations: 0.7643 MB / 1.14 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/1.01, allocations: 0 / 1.14 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001497/1.012, allocations: 338.4 kB / 1.14 GB, free: 13.87 MB / 0.8731 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.001818/1.013, allocations: 0.6665 MB / 1.141 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00408/1.018, allocations: 1.185 MB / 1.142 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.018, allocations: 4.188 kB / 1.142 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/1.019, allocations: 0.5733 MB / 1.142 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/1.022, allocations: 454.8 kB / 1.143 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/1.028, allocations: 2.406 MB / 1.145 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009628/1.029, allocations: 1.098 MB / 1.146 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005781/1.03, allocations: 118.1 kB / 1.146 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of SimCode: time 9.82e-07/1.03, allocations: 0 / 1.146 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.03714/1.067, allocations: 19.02 MB / 1.165 GB, free: 0.793 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (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 & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/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