Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: 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_10_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_10_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.001386/0.001386, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001386/0.001386, allocations: 187 kB / 17.34 MB, free: 5.742 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.414/2.414, allocations: 437 MB / 0.7112 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.89 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8972/0.8987, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03496/0.9337, allocations: 29.35 MB / 1.196 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01234/0.946, allocations: 6.862 MB / 1.203 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.9478, allocations: 47.69 kB / 1.203 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.9499, allocations: 0.707 MB / 1.203 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004674/0.9547, allocations: 1.505 MB / 1.205 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003479/0.9582, allocations: 1.151 MB / 1.206 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003763/0.962, allocations: 2.489 MB / 1.208 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.9636, allocations: 0.7902 MB / 1.209 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.9661, allocations: 1.054 MB / 1.21 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.9678, allocations: 0.813 MB / 1.211 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003324/0.9681, allocations: 64 kB / 1.211 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.9705, allocations: 0.8266 MB / 1.212 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000451/0.9709, allocations: 271 kB / 1.212 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.972, allocations: 0.5514 MB / 1.213 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.9752, allocations: 1.61 MB / 1.214 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.9752, allocations: 7.922 kB / 1.214 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9752, allocations: 0 / 1.214 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.985e-05/0.9753, allocations: 0 / 1.214 GB, free: 3.543 MB / 0.9356 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.003475/0.9788, allocations: 1.57 MB / 1.216 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.9788, allocations: 8.625 kB / 1.216 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003616/0.9825, allocations: 0.5884 MB / 1.216 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.9845, allocations: 0.8758 MB / 1.217 GB, free: 396 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/0.9846, allocations: 50.38 kB / 1.217 GB, free: 348 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.9848, allocations: 87.86 kB / 1.217 GB, free: 260 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.9875, allocations: 1.092 MB / 1.218 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.9875, allocations: 7.938 kB / 1.218 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.735e-05/0.9876, allocations: 28 kB / 1.218 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.9877, allocations: 20 kB / 1.219 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/0.9907, allocations: 1 MB / 1.219 GB, free: 14.02 MB / 0.9512 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.00625/0.997, allocations: 4.943 MB / 1.224 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002867/0.9999, allocations: 0.9038 MB / 1.225 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/1.001, allocations: 484.9 kB / 1.226 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/1.003, allocations: 1.599 MB / 1.227 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001734/1.004, allocations: 0.5728 MB / 1.228 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=61): time 3.968e-06/1.005, allocations: 3.938 kB / 1.228 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of matching and sorting (n=61): time 0.004692/1.009, allocations: 1.485 MB / 1.229 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/1.009, allocations: 59.95 kB / 1.229 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/1.011, allocations: 1.112 MB / 1.23 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/1.011, allocations: 45.7 kB / 1.23 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/1.012, allocations: 0.5434 MB / 1.231 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/1.012, allocations: 213 kB / 1.231 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/1.012, allocations: 162.5 kB / 1.231 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.012, allocations: 338 kB / 1.232 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/1.014, allocations: 449.6 kB / 1.232 GB, free: 440 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/1.015, allocations: 0.7127 MB / 1.233 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/1.018, allocations: 1.117 MB / 1.234 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.098e-06/1.018, allocations: 8 kB / 1.234 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003686/1.022, allocations: 1.278 MB / 1.235 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.022, allocations: 8 kB / 1.235 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/1.022, allocations: 8.094 kB / 1.235 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.554e-05/1.022, allocations: 15.94 kB / 1.235 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.023, allocations: 259.8 kB / 1.235 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/1.023, allocations: 23.92 kB / 1.235 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/1.025, allocations: 179 kB / 1.236 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.025, allocations: 43.98 kB / 1.236 GB, free: 12.56 MB / 0.9669 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.0005002/1.025, allocations: 299.7 kB / 1.236 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/1.026, allocations: 122.4 kB / 1.236 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/1.029, allocations: 1.355 MB / 1.237 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/1.029, allocations: 8 kB / 1.237 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.029, allocations: 7.969 kB / 1.237 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/1.029, allocations: 0 / 1.237 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005305/1.035, allocations: 2.37 MB / 1.24 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/1.035, allocations: 8.109 kB / 1.24 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.036, allocations: 191.8 kB / 1.24 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/1.036, allocations: 7.938 kB / 1.24 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/1.036, allocations: 23.97 kB / 1.24 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/1.036, allocations: 4 kB / 1.24 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.036, allocations: 4 kB / 1.24 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/1.041, allocations: 1.977 MB / 1.242 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005775/1.042, allocations: 275.3 kB / 1.242 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/1.042, allocations: 20 kB / 1.242 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/1.043, allocations: 103.9 kB / 1.242 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/1.043, allocations: 56.42 kB / 1.242 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.442e-05/1.043, allocations: 31.97 kB / 1.242 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001081/1.044, allocations: 0.7638 MB / 1.243 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/1.044, allocations: 0 / 1.243 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001145/1.045, allocations: 343.6 kB / 1.243 GB, free: 4.461 MB / 0.9669 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.001567/1.047, allocations: 0.666 MB / 1.244 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003251/1.05, allocations: 1.11 MB / 1.245 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.05, allocations: 0 / 1.245 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/1.052, allocations: 0.5736 MB / 1.246 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/1.054, allocations: 464.4 kB / 1.246 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004942/1.059, allocations: 2.379 MB / 1.248 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006981/1.06, allocations: 1.1 MB / 1.25 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/1.06, allocations: 119.4 kB / 1.25 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of SimCode: time 9.32e-07/1.06, allocations: 4 kB / 1.25 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.02741/1.087, allocations: 19.14 MB / 1.268 GB, free: 11.15 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches