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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001624/0.001624, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001757/0.001757, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 64.34 kB / 0.8707 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3465, allocations: 151.6 MB / 1.019 GB, free: 9.926 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02689/0.3734, allocations: 29.34 MB / 1.047 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009658/0.3831, allocations: 6.871 MB / 1.054 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.3844, allocations: 47.69 kB / 1.054 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.3859, allocations: 0.6992 MB / 1.055 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.3893, allocations: 1.443 MB / 1.056 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.3919, allocations: 1.153 MB / 1.057 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002829/0.3948, allocations: 2.481 MB / 1.06 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.396, allocations: 0.7942 MB / 1.061 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.3986, allocations: 1.019 MB / 1.062 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.4002, allocations: 0.813 MB / 1.062 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.4004, allocations: 72 kB / 1.062 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/0.4029, allocations: 0.8226 MB / 1.063 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.4032, allocations: 275 kB / 1.064 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006782/0.4039, allocations: 0.5437 MB / 1.064 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.4061, allocations: 1.62 MB / 1.066 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4061, allocations: 0 / 1.066 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4062, allocations: 0 / 1.066 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.658e-05/0.4062, allocations: 4 kB / 1.066 GB, free: 9.762 MB / 0.8419 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.002414/0.4086, allocations: 1.562 MB / 1.067 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.4086, allocations: 12.92 kB / 1.067 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.4119, allocations: 0.5806 MB / 1.068 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.4133, allocations: 0.8797 MB / 1.069 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/0.4134, allocations: 54.38 kB / 1.069 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.4135, allocations: 75.94 kB / 1.069 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.4158, allocations: 1.096 MB / 1.07 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.4158, allocations: 3.938 kB / 1.07 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.054e-05/0.4159, allocations: 28 kB / 1.07 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.4159, allocations: 20 kB / 1.07 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/0.4188, allocations: 1.008 MB / 1.071 GB, free: 4.254 MB / 0.8419 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.5365/0.9554, allocations: 4.927 MB / 1.076 GB, free: 61.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.9585, allocations: 0.9062 MB / 1.077 GB, free: 61.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.96, allocations: 491.7 kB / 1.077 GB, free: 61.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.9611, allocations: 1.595 MB / 1.079 GB, free: 59.21 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001623/0.9627, allocations: 0.5646 MB / 1.079 GB, free: 59.05 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 3.276e-06/0.9627, allocations: 0 / 1.079 GB, free: 59.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.004863/0.9676, allocations: 1.489 MB / 1.081 GB, free: 58.72 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.9677, allocations: 57.8 kB / 1.081 GB, free: 58.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.9694, allocations: 1.117 MB / 1.082 GB, free: 58.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.996e-05/0.9695, allocations: 43.81 kB / 1.082 GB, free: 58.22 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/0.97, allocations: 0.5422 MB / 1.082 GB, free: 57.85 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.9702, allocations: 212.2 kB / 1.082 GB, free: 57.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003417/0.9706, allocations: 164 kB / 1.083 GB, free: 57.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.9707, allocations: 343 kB / 1.083 GB, free: 57.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.9722, allocations: 445.1 kB / 1.083 GB, free: 57.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.974, allocations: 0.7129 MB / 1.084 GB, free: 56.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.9771, allocations: 1.129 MB / 1.085 GB, free: 56.28 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.9771, allocations: 2.875 kB / 1.085 GB, free: 56.28 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003728/0.9808, allocations: 1.268 MB / 1.086 GB, free: 55.87 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.9809, allocations: 13.06 kB / 1.086 GB, free: 55.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.9809, allocations: 8.688 kB / 1.086 GB, free: 55.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/0.9809, allocations: 11.03 kB / 1.086 GB, free: 55.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.9822, allocations: 277 kB / 1.087 GB, free: 55.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.872e-05/0.9822, allocations: 16.45 kB / 1.087 GB, free: 55.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.9834, allocations: 177.3 kB / 1.087 GB, free: 55.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.9836, allocations: 54.22 kB / 1.087 GB, free: 55.76 MB / 0.8419 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.0004821/0.9841, allocations: 292.7 kB / 1.087 GB, free: 55.56 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.9843, allocations: 119.4 kB / 1.087 GB, free: 55.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/0.9882, allocations: 1.363 MB / 1.089 GB, free: 55.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/0.9882, allocations: 9.016 kB / 1.089 GB, free: 55.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.9882, allocations: 0 / 1.089 GB, free: 55.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.9882, allocations: 4.688 kB / 1.089 GB, free: 55.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005109/0.9933, allocations: 2.367 MB / 1.091 GB, free: 54.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.9934, allocations: 1.984 kB / 1.091 GB, free: 54.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.9944, allocations: 190.6 kB / 1.091 GB, free: 54.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.9944, allocations: 7.125 kB / 1.091 GB, free: 54.05 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/0.9945, allocations: 28.81 kB / 1.091 GB, free: 54.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/0.9945, allocations: 8.344 kB / 1.091 GB, free: 54.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.9945, allocations: 2.062 kB / 1.091 GB, free: 54.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.9996, allocations: 1.968 MB / 1.093 GB, free: 53.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/1, allocations: 278 kB / 1.093 GB, free: 53.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/1, allocations: 21.69 kB / 1.093 GB, free: 53.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009398/1.001, allocations: 106.2 kB / 1.094 GB, free: 53.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.001, allocations: 49.2 kB / 1.094 GB, free: 53.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.002, allocations: 36.09 kB / 1.094 GB, free: 53.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001185/1.003, allocations: 0.763 MB / 1.094 GB, free: 52.76 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/1.003, allocations: 4 kB / 1.094 GB, free: 52.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001147/1.004, allocations: 345.8 kB / 1.095 GB, free: 52.7 MB / 0.8419 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.001412/1.005, allocations: 0.6605 MB / 1.095 GB, free: 52.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003291/1.009, allocations: 1.117 MB / 1.096 GB, free: 52.19 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.009, allocations: 0 / 1.096 GB, free: 52.19 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/1.01, allocations: 0.5708 MB / 1.097 GB, free: 52.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/1.012, allocations: 463.6 kB / 1.097 GB, free: 51.89 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/1.017, allocations: 2.337 MB / 1.1 GB, free: 50.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/1.017, allocations: 1.109 MB / 1.101 GB, free: 50.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0009662/1.018, allocations: 240.6 kB / 1.101 GB, free: 49.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/1.019, allocations: 107.7 kB / 1.101 GB, free: 49.97 MB / 0.8419 GB Notification: Performance of SimCode: time 8.81e-07/1.019, allocations: 0.75 kB / 1.101 GB, free: 49.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.0356/1.054, allocations: 19.87 MB / 1.121 GB, free: 43.35 MB / 0.8419 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 -s gbode -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