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.001535/0.001535, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001801/0.001801, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.356/1.356, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.431/2.431, allocations: 437 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 64.09 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.7082, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0299/0.7382, allocations: 29.34 MB / 1.196 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.7482, allocations: 6.866 MB / 1.203 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.7494, allocations: 47.69 kB / 1.203 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.751, allocations: 0.7031 MB / 1.203 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003496/0.7546, allocations: 1.516 MB / 1.205 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.7573, allocations: 1.16 MB / 1.206 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002818/0.7602, allocations: 2.473 MB / 1.208 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.7614, allocations: 0.7941 MB / 1.209 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.7632, allocations: 1.047 MB / 1.21 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.7644, allocations: 0.813 MB / 1.211 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.7646, allocations: 68 kB / 1.211 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.7664, allocations: 0.8187 MB / 1.212 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002999/0.7667, allocations: 275 kB / 1.212 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000545/0.7672, allocations: 0.5476 MB / 1.213 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.7692, allocations: 1.614 MB / 1.214 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.7692, allocations: 7.938 kB / 1.214 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7692, allocations: 0 / 1.214 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.7693, allocations: 0 / 1.214 GB, free: 3.59 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.002434/0.7717, allocations: 1.566 MB / 1.216 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.7717, allocations: 8.922 kB / 1.216 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/0.7753, allocations: 0.5845 MB / 1.216 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.7767, allocations: 0.8758 MB / 1.217 GB, free: 452 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/0.7768, allocations: 58.38 kB / 1.217 GB, free: 396 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.7769, allocations: 71.94 kB / 1.217 GB, free: 324 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.7793, allocations: 1.102 MB / 1.218 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.7794, allocations: 7.938 kB / 1.218 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.271e-05/0.7795, allocations: 31.98 kB / 1.219 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.7795, allocations: 16 kB / 1.219 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/0.7826, allocations: 1 MB / 1.219 GB, free: 14.08 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.005354/0.788, allocations: 4.947 MB / 1.224 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.791, allocations: 0.9005 MB / 1.225 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.7925, allocations: 492.6 kB / 1.226 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.7937, allocations: 1.591 MB / 1.227 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/0.7954, allocations: 0.5728 MB / 1.228 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=61): time 2.554e-06/0.7954, allocations: 7.938 kB / 1.228 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of matching and sorting (n=61): time 0.004835/0.8003, allocations: 1.481 MB / 1.229 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.8003, allocations: 59.97 kB / 1.229 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.8015, allocations: 1.124 MB / 1.23 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.613e-05/0.8016, allocations: 41.7 kB / 1.23 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/0.802, allocations: 0.5434 MB / 1.231 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.8022, allocations: 209 kB / 1.231 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.8024, allocations: 166.5 kB / 1.231 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.8026, allocations: 337.9 kB / 1.232 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.8041, allocations: 449.6 kB / 1.232 GB, free: 488 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.8057, allocations: 0.7205 MB / 1.233 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00305/0.8088, allocations: 1.117 MB / 1.234 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.8088, allocations: 0 / 1.234 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003674/0.8125, allocations: 1.278 MB / 1.235 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.8125, allocations: 8 kB / 1.235 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.8126, allocations: 8.875 kB / 1.235 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.8126, allocations: 12 kB / 1.235 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.8138, allocations: 271.5 kB / 1.235 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/0.8139, allocations: 19.92 kB / 1.235 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.8151, allocations: 179 kB / 1.236 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.075e-05/0.8152, allocations: 47.97 kB / 1.236 GB, free: 12.6 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.0004466/0.8156, allocations: 291.8 kB / 1.236 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.8158, allocations: 122.4 kB / 1.236 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/0.8196, allocations: 1.359 MB / 1.237 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.8197, allocations: 3.984 kB / 1.237 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.8197, allocations: 0 / 1.237 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000408/0.8201, allocations: 271.3 kB / 1.238 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.8203, allocations: 20 kB / 1.238 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009088/0.8212, allocations: 103.9 kB / 1.238 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.8213, allocations: 44.5 kB / 1.238 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004191/0.8255, allocations: 1.347 MB / 1.239 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005204/0.8307, allocations: 2.035 MB / 1.241 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001563/0.8323, allocations: 0.5354 MB / 1.242 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009026/0.8332, allocations: 0.7638 MB / 1.242 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of Backend: time 3e-07/0.8332, allocations: 0 / 1.242 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003953/0.8372, allocations: 1.349 MB / 1.244 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of SimCode: time 0.003705/0.8409, allocations: 2.552 MB / 1.246 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of Templates: time 0.03491/0.8758, allocations: 21.8 MB / 1.267 GB, free: 12.27 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