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.007833/0.007833, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001362/0.001362, allocations: 198.8 kB / 16.68 MB, free: 5.977 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.38/1.38, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.642/2.642, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.83 kB / 1.054 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9366/0.9379, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02952/0.9675, allocations: 29.33 MB / 1.236 GB, free: 180 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.9785, allocations: 6.881 MB / 1.243 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.9804, allocations: 47.69 kB / 1.243 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.9822, allocations: 0.6914 MB / 1.244 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.9865, allocations: 1.458 MB / 1.245 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.9899, allocations: 1.153 MB / 1.246 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003894/0.9938, allocations: 2.477 MB / 1.249 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.9951, allocations: 0.7902 MB / 1.25 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.9969, allocations: 1.047 MB / 1.251 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009573/0.9979, allocations: 0.8091 MB / 1.251 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.998, allocations: 68 kB / 1.251 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.9998, allocations: 0.8226 MB / 1.252 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002666/1, allocations: 275 kB / 1.253 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005353/1.001, allocations: 0.5514 MB / 1.253 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002334/1.003, allocations: 1.614 MB / 1.255 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.003, allocations: 0 / 1.255 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/1.003, allocations: 4 kB / 1.255 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.32e-05/1.003, allocations: 0 / 1.255 GB, free: 13.44 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.002711/1.006, allocations: 1.566 MB / 1.256 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.006, allocations: 15.95 kB / 1.256 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003447/1.009, allocations: 0.5845 MB / 1.257 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/1.011, allocations: 0.8719 MB / 1.258 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/1.011, allocations: 54.38 kB / 1.258 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/1.011, allocations: 79.92 kB / 1.258 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/1.013, allocations: 1.096 MB / 1.259 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/1.013, allocations: 7.938 kB / 1.259 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.389e-05/1.014, allocations: 28 kB / 1.259 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/1.014, allocations: 16 kB / 1.259 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003123/1.017, allocations: 0.9962 MB / 1.26 GB, free: 7.938 MB / 0.9825 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.005679/1.022, allocations: 4.951 MB / 1.265 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/1.025, allocations: 0.9092 MB / 1.266 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/1.027, allocations: 487 kB / 1.266 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/1.029, allocations: 1.591 MB / 1.268 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001762/1.03, allocations: 0.5728 MB / 1.268 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=61): time 4.097e-06/1.03, allocations: 0 / 1.268 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=61): time 0.005036/1.035, allocations: 1.485 MB / 1.27 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/1.035, allocations: 63.95 kB / 1.27 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/1.037, allocations: 1.112 MB / 1.271 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.065e-05/1.037, allocations: 45.7 kB / 1.271 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/1.038, allocations: 0.5434 MB / 1.271 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/1.038, allocations: 213 kB / 1.272 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/1.038, allocations: 162.5 kB / 1.272 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.038, allocations: 338 kB / 1.272 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/1.04, allocations: 445.6 kB / 1.272 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/1.042, allocations: 0.7206 MB / 1.273 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/1.045, allocations: 1.117 MB / 1.274 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/1.045, allocations: 0 / 1.274 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003861/1.049, allocations: 1.282 MB / 1.275 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/1.049, allocations: 8 kB / 1.275 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.049, allocations: 8 kB / 1.275 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/1.049, allocations: 12.78 kB / 1.275 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.05, allocations: 271.6 kB / 1.276 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.269e-05/1.05, allocations: 19.92 kB / 1.276 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/1.051, allocations: 175 kB / 1.276 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.664e-05/1.051, allocations: 47.98 kB / 1.276 GB, free: 6.457 MB / 0.9981 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.0005059/1.052, allocations: 287.8 kB / 1.276 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/1.052, allocations: 122.4 kB / 1.276 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/1.056, allocations: 1.359 MB / 1.278 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/1.056, allocations: 11.98 kB / 1.278 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.056, allocations: 0 / 1.278 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/1.056, allocations: 96 / 1.278 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/1.061, allocations: 2.377 MB / 1.28 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.061, allocations: 4 kB / 1.28 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/1.062, allocations: 191.9 kB / 1.28 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/1.062, allocations: 8 kB / 1.28 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/1.062, allocations: 27.97 kB / 1.28 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/1.062, allocations: 4 kB / 1.28 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.062, allocations: 0 / 1.28 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005251/1.068, allocations: 1.977 MB / 1.282 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004952/1.068, allocations: 275.3 kB / 1.282 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/1.068, allocations: 20 kB / 1.282 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000925/1.069, allocations: 103.9 kB / 1.283 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/1.069, allocations: 60.36 kB / 1.283 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/1.069, allocations: 39.97 kB / 1.283 GB, free: 15.47 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001019/1.07, allocations: 0.7638 MB / 1.283 GB, free: 14.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/1.07, allocations: 0 / 1.283 GB, free: 14.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001096/1.071, allocations: 347.6 kB / 1.284 GB, free: 14.36 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.001536/1.073, allocations: 0.6534 MB / 1.284 GB, free: 13.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003445/1.076, allocations: 1.11 MB / 1.285 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.076, allocations: 192 / 1.285 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/1.078, allocations: 0.5773 MB / 1.286 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/1.08, allocations: 449.5 kB / 1.286 GB, free: 11.75 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/1.085, allocations: 2.341 MB / 1.289 GB, free: 9.359 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006625/1.086, allocations: 1.107 MB / 1.29 GB, free: 8.215 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000974/1.087, allocations: 244.6 kB / 1.29 GB, free: 7.973 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/1.087, allocations: 115.3 kB / 1.29 GB, free: 7.863 MB / 1.014 GB Notification: Performance of SimCode: time 1.193e-06/1.087, allocations: 0 / 1.29 GB, free: 7.863 MB / 1.014 GB Notification: Performance of Templates: time 0.03865/1.126, allocations: 20.34 MB / 1.31 GB, free: 3.805 MB / 1.029 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/jenkins/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