Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001393/0.001393, allocations: 107 kB / 15.99 MB, free: 5.895 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.001305/0.001305, allocations: 189.1 kB / 16.91 MB, free: 5.746 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.427/1.427, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.676/2.676, allocations: 469.8 MB / 0.7427 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.8 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.337, allocations: 159.2 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.579/0.916, allocations: 29.11 MB / 1.093 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01197/0.928, allocations: 6.847 MB / 1.099 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.9303, allocations: 43.38 kB / 1.099 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.9324, allocations: 0.608 MB / 1.1 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.9373, allocations: 1.371 MB / 1.101 GB, free: 1.906 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.9409, allocations: 1.045 MB / 1.102 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004188/0.9451, allocations: 2.486 MB / 1.105 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.9467, allocations: 0.8142 MB / 1.105 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.9493, allocations: 1.031 MB / 1.106 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.9509, allocations: 0.8475 MB / 1.107 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.951, allocations: 66.22 kB / 1.107 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.9536, allocations: 0.8322 MB / 1.108 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.954, allocations: 284.4 kB / 1.108 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008238/0.9549, allocations: 0.5557 MB / 1.109 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.9572, allocations: 1.147 MB / 1.11 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9572, allocations: 0.5625 kB / 1.11 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9572, allocations: 0 / 1.11 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.9572, allocations: 0 / 1.11 GB, free: 13.92 MB / 0.8575 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.003389/0.9606, allocations: 1.569 MB / 1.112 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.9607, allocations: 9.531 kB / 1.112 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00397/0.9646, allocations: 0.5943 MB / 1.112 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.9665, allocations: 0.7991 MB / 1.113 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.339e-05/0.9666, allocations: 58.75 kB / 1.113 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.9668, allocations: 77.84 kB / 1.113 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/0.9697, allocations: 1.096 MB / 1.114 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.9698, allocations: 2.156 kB / 1.114 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-05/0.9699, allocations: 36.52 kB / 1.114 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.9699, allocations: 19.03 kB / 1.114 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/0.9732, allocations: 1.002 MB / 1.115 GB, free: 11.38 MB / 0.8575 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.00788/0.9811, allocations: 4.934 MB / 1.12 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.9844, allocations: 0.9037 MB / 1.121 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.986, allocations: 488.7 kB / 1.121 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/0.9878, allocations: 1.588 MB / 1.123 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001984/0.9898, allocations: 0.5754 MB / 1.124 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=61): time 3.827e-06/0.9898, allocations: 0 / 1.124 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=61): time 0.005294/0.9951, allocations: 1.481 MB / 1.125 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.9952, allocations: 62.83 kB / 1.125 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.9972, allocations: 1.11 MB / 1.126 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.9973, allocations: 40 kB / 1.126 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005725/0.9979, allocations: 0.5504 MB / 1.127 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.9981, allocations: 204.1 kB / 1.127 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.9985, allocations: 165.4 kB / 1.127 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.9987, allocations: 339.1 kB / 1.127 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1, allocations: 454.2 kB / 1.128 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/1.002, allocations: 0.7144 MB / 1.128 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/1.005, allocations: 1.123 MB / 1.13 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/1.005, allocations: 6.281 kB / 1.13 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00406/1.009, allocations: 1.283 MB / 1.131 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/1.009, allocations: 9.234 kB / 1.131 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/1.01, allocations: 6.75 kB / 1.131 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.543e-05/1.01, allocations: 12.66 kB / 1.131 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/1.011, allocations: 263.7 kB / 1.131 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.262e-05/1.011, allocations: 18.14 kB / 1.131 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/1.013, allocations: 205.7 kB / 1.131 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/1.013, allocations: 45.12 kB / 1.131 GB, free: 1.516 MB / 0.8575 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.0007027/1.013, allocations: 293.2 kB / 1.132 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/1.014, allocations: 122.7 kB / 1.132 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004165/1.018, allocations: 1.359 MB / 1.133 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/1.018, allocations: 17.83 kB / 1.133 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.018, allocations: 0 / 1.133 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/1.018, allocations: 4.453 kB / 1.133 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005858/1.024, allocations: 2.359 MB / 1.135 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.517e-06/1.024, allocations: 2.25 kB / 1.135 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/1.025, allocations: 191.2 kB / 1.136 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/1.025, allocations: 4.688 kB / 1.136 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.107e-05/1.025, allocations: 28.72 kB / 1.136 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-06/1.025, allocations: 9.578 kB / 1.136 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.025, allocations: 1.188 kB / 1.136 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005705/1.031, allocations: 1.981 MB / 1.138 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008827/1.032, allocations: 274.7 kB / 1.138 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/1.032, allocations: 20.34 kB / 1.138 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.033, allocations: 117.4 kB / 1.138 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.033, allocations: 53.44 kB / 1.138 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/1.033, allocations: 32.28 kB / 1.138 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001344/1.035, allocations: 0.765 MB / 1.139 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.035, allocations: 3.938 kB / 1.139 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001624/1.036, allocations: 347.1 kB / 1.139 GB, free: 14.39 MB / 0.8731 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.002327/1.039, allocations: 0.6624 MB / 1.14 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003877/1.042, allocations: 1.182 MB / 1.141 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.043, allocations: 0 / 1.141 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/1.044, allocations: 0.5709 MB / 1.142 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/1.047, allocations: 452.3 kB / 1.142 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/1.052, allocations: 2.779 MB / 1.145 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008982/1.053, allocations: 1.102 MB / 1.146 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005966/1.054, allocations: 118.1 kB / 1.146 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of SimCode: time 1.152e-06/1.054, allocations: 0 / 1.146 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.04092/1.095, allocations: 19.01 MB / 1.164 GB, free: 1.176 MB / 0.8731 GB make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches