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.008254/0.008254, allocations: 99.59 kB / 15.73 MB, free: 6.484 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.001768/0.001768, allocations: 192.2 kB / 16.68 MB, free: 6.367 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.731/2.731, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3516, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02857/0.3802, allocations: 29.34 MB / 1.195 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.3908, allocations: 6.863 MB / 1.202 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.3925, allocations: 47.69 kB / 1.202 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.3946, allocations: 0.6992 MB / 1.203 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.3994, allocations: 1.52 MB / 1.204 GB, free: 168 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.4029, allocations: 1.157 MB / 1.205 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003941/0.4069, allocations: 2.485 MB / 1.208 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.4085, allocations: 0.7942 MB / 1.209 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/0.411, allocations: 1.047 MB / 1.21 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.4126, allocations: 0.8169 MB / 1.21 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003165/0.4129, allocations: 64 kB / 1.21 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.4151, allocations: 0.8226 MB / 1.211 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004419/0.4156, allocations: 271 kB / 1.211 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000957/0.4165, allocations: 0.5476 MB / 1.212 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.4199, allocations: 1.634 MB / 1.214 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4199, allocations: 4 kB / 1.214 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4199, allocations: 0 / 1.214 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.072e-05/0.42, allocations: 0 / 1.214 GB, free: 6.5 MB / 0.9669 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.003302/0.4233, allocations: 1.615 MB / 1.215 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.4234, allocations: 8.031 kB / 1.215 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/0.4269, allocations: 0.5931 MB / 1.216 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.4287, allocations: 0.8808 MB / 1.217 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/0.4288, allocations: 54.38 kB / 1.217 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.429, allocations: 79.94 kB / 1.217 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/0.4316, allocations: 1.101 MB / 1.218 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.4317, allocations: 4 kB / 1.218 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/0.4318, allocations: 32 kB / 1.218 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.4318, allocations: 20 kB / 1.218 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003052/0.4348, allocations: 1 MB / 1.219 GB, free: 0.918 MB / 0.9669 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.00624/0.4411, allocations: 4.948 MB / 1.224 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/0.444, allocations: 0.9107 MB / 1.225 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.4454, allocations: 483.8 kB / 1.225 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/0.4467, allocations: 1.588 MB / 1.227 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001609/0.4483, allocations: 0.5728 MB / 1.227 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=61): time 3.627e-06/0.4483, allocations: 4 kB / 1.227 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=61): time 0.004686/0.453, allocations: 1.485 MB / 1.229 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.4531, allocations: 63.97 kB / 1.229 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.4547, allocations: 1.12 MB / 1.23 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.335e-05/0.4548, allocations: 41.7 kB / 1.23 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/0.4552, allocations: 0.5482 MB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.4555, allocations: 230.1 kB / 1.231 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.4558, allocations: 158.6 kB / 1.231 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4559, allocations: 334 kB / 1.231 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.4573, allocations: 457.6 kB / 1.231 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.459, allocations: 0.7088 MB / 1.232 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/0.462, allocations: 1.12 MB / 1.233 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.462, allocations: 4 kB / 1.233 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003634/0.4656, allocations: 1.282 MB / 1.235 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.4657, allocations: 12.09 kB / 1.235 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.4657, allocations: 8.844 kB / 1.235 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.4657, allocations: 12 kB / 1.235 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.4669, allocations: 271.6 kB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.393e-05/0.467, allocations: 15.94 kB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.4683, allocations: 179.3 kB / 1.235 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.4684, allocations: 47.97 kB / 1.235 GB, free: 15.42 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.0005851/0.469, allocations: 291.7 kB / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003507/0.4694, allocations: 131.1 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/0.4732, allocations: 1.355 MB / 1.237 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.4732, allocations: 15.98 kB / 1.237 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.4732, allocations: 0 / 1.237 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.4732, allocations: 3.984 kB / 1.237 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005231/0.4785, allocations: 2.378 MB / 1.239 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.4785, allocations: 4 kB / 1.239 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.4796, allocations: 191.9 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.4796, allocations: 4 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/0.4797, allocations: 27.97 kB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.729e-06/0.4797, allocations: 4 kB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.4797, allocations: 3.938 kB / 1.239 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/0.4847, allocations: 1.985 MB / 1.241 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005243/0.4852, allocations: 280 kB / 1.242 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.4854, allocations: 19.98 kB / 1.242 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.4865, allocations: 103.9 kB / 1.242 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.4866, allocations: 60.38 kB / 1.242 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.573e-05/0.4867, allocations: 31.97 kB / 1.242 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001071/0.4878, allocations: 0.7638 MB / 1.243 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4878, allocations: 0 / 1.243 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00117/0.4889, allocations: 351.3 kB / 1.243 GB, free: 7.281 MB / 0.9981 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.001566/0.4905, allocations: 0.6541 MB / 1.243 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003366/0.4939, allocations: 1.111 MB / 1.245 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4939, allocations: 4.062 kB / 1.245 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.4955, allocations: 0.5773 MB / 1.245 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.4977, allocations: 448.9 kB / 1.246 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/0.5026, allocations: 2.37 MB / 1.248 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007818/0.5034, allocations: 1.107 MB / 1.249 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009745/0.5044, allocations: 248.6 kB / 1.249 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.5048, allocations: 111.4 kB / 1.249 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.5048, allocations: 0 / 1.249 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of Templates: time 0.6639/1.169, allocations: 20.01 MB / 1.269 GB, free: 78.84 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/jenkins/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