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.001515/0.001515, allocations: 102.2 kB / 16.27 MB, free: 6 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.001478/0.001478, allocations: 191 kB / 17.2 MB, free: 5.609 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.445/2.445, allocations: 437 MB / 0.711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 72.11 kB / 0.8699 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.315, allocations: 151.6 MB / 1.018 GB, free: 10.69 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03281/0.3479, allocations: 29.35 MB / 1.047 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01165/0.3596, allocations: 6.871 MB / 1.053 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.3614, allocations: 43.69 kB / 1.053 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.3635, allocations: 0.6992 MB / 1.054 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.3682, allocations: 1.45 MB / 1.055 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003318/0.3715, allocations: 1.149 MB / 1.057 GB, free: 3 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003482/0.375, allocations: 2.473 MB / 1.059 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.3766, allocations: 0.7946 MB / 1.06 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.3789, allocations: 1.012 MB / 1.061 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.3804, allocations: 0.813 MB / 1.062 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002863/0.3807, allocations: 64 kB / 1.062 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.3828, allocations: 0.8265 MB / 1.062 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.3832, allocations: 267 kB / 1.063 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009047/0.3842, allocations: 0.5553 MB / 1.063 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002956/0.3871, allocations: 1.589 MB / 1.065 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3871, allocations: 0 / 1.065 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3872, allocations: 0 / 1.065 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.165e-05/0.3872, allocations: 0 / 1.065 GB, free: 10.57 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.003222/0.3904, allocations: 1.566 MB / 1.066 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3905, allocations: 8.625 kB / 1.066 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/0.3941, allocations: 0.5845 MB / 1.067 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.3955, allocations: 0.8094 MB / 1.068 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-05/0.3956, allocations: 58.36 kB / 1.068 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.3958, allocations: 79.94 kB / 1.068 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/0.3983, allocations: 1.096 MB / 1.069 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3984, allocations: 3.938 kB / 1.069 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/0.3985, allocations: 28 kB / 1.069 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.3985, allocations: 20 kB / 1.069 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003149/0.4016, allocations: 1.004 MB / 1.07 GB, free: 5.129 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.5639/0.9656, allocations: 4.952 MB / 1.075 GB, free: 62.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003443/0.9691, allocations: 0.9027 MB / 1.076 GB, free: 62.74 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.9707, allocations: 488.5 kB / 1.076 GB, free: 62.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.9719, allocations: 1.589 MB / 1.078 GB, free: 60.95 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001695/0.9736, allocations: 0.5784 MB / 1.078 GB, free: 60.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 4.077e-06/0.9736, allocations: 0 / 1.078 GB, free: 60.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.00491/0.9785, allocations: 1.483 MB / 1.08 GB, free: 60.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.9786, allocations: 65.44 kB / 1.08 GB, free: 60.63 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.98, allocations: 1.114 MB / 1.081 GB, free: 60.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.9801, allocations: 37.83 kB / 1.081 GB, free: 60.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.9804, allocations: 0.5451 MB / 1.081 GB, free: 59.83 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.9806, allocations: 216.2 kB / 1.082 GB, free: 59.69 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/0.9809, allocations: 160.8 kB / 1.082 GB, free: 59.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.981, allocations: 343.5 kB / 1.082 GB, free: 59.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.9827, allocations: 447.4 kB / 1.082 GB, free: 59.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.9844, allocations: 0.7129 MB / 1.083 GB, free: 58.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003184/0.9876, allocations: 1.119 MB / 1.084 GB, free: 58.27 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.9876, allocations: 1.75 kB / 1.084 GB, free: 58.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003922/0.9916, allocations: 1.274 MB / 1.086 GB, free: 57.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.9916, allocations: 9.406 kB / 1.086 GB, free: 57.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.9916, allocations: 10.09 kB / 1.086 GB, free: 57.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/0.9917, allocations: 16.12 kB / 1.086 GB, free: 57.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.993, allocations: 263.2 kB / 1.086 GB, free: 57.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-05/0.9931, allocations: 17.64 kB / 1.086 GB, free: 57.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.9944, allocations: 180.7 kB / 1.086 GB, free: 57.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.9945, allocations: 51.19 kB / 1.086 GB, free: 57.75 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.0005732/0.9951, allocations: 297.7 kB / 1.086 GB, free: 57.55 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.9953, allocations: 119.5 kB / 1.086 GB, free: 57.49 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/0.9997, allocations: 1.366 MB / 1.088 GB, free: 57.06 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/0.9997, allocations: 9.969 kB / 1.088 GB, free: 57.06 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.9997, allocations: 0 / 1.088 GB, free: 57.06 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.9997, allocations: 7.828 kB / 1.088 GB, free: 57.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005728/1.005, allocations: 2.358 MB / 1.09 GB, free: 56.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.006, allocations: 10.69 kB / 1.09 GB, free: 56.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.007, allocations: 183 kB / 1.09 GB, free: 56.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.007, allocations: 4.594 kB / 1.09 GB, free: 56.05 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/1.007, allocations: 28.84 kB / 1.09 GB, free: 56.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/1.007, allocations: 6.984 kB / 1.09 GB, free: 56.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.007, allocations: 6.188 kB / 1.09 GB, free: 56.03 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005576/1.012, allocations: 1.967 MB / 1.092 GB, free: 55.28 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005386/1.013, allocations: 282.5 kB / 1.093 GB, free: 55.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/1.013, allocations: 19.11 kB / 1.093 GB, free: 55.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009519/1.014, allocations: 111.2 kB / 1.093 GB, free: 55.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.014, allocations: 53.27 kB / 1.093 GB, free: 55.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.883e-05/1.014, allocations: 32.28 kB / 1.093 GB, free: 55.03 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001224/1.015, allocations: 0.7645 MB / 1.093 GB, free: 54.74 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/1.015, allocations: 0 / 1.093 GB, free: 54.74 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001458/1.017, allocations: 344.9 kB / 1.094 GB, free: 54.68 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.001472/1.018, allocations: 0.6716 MB / 1.094 GB, free: 54.47 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003783/1.022, allocations: 1.179 MB / 1.096 GB, free: 54.17 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.022, allocations: 0 / 1.096 GB, free: 54.17 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/1.024, allocations: 0.5815 MB / 1.096 GB, free: 54.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/1.026, allocations: 460.4 kB / 1.097 GB, free: 53.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005388/1.032, allocations: 2.403 MB / 1.099 GB, free: 52.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006604/1.032, allocations: 1.104 MB / 1.1 GB, free: 51.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/1.033, allocations: 119.7 kB / 1.1 GB, free: 51.95 MB / 0.8419 GB Notification: Performance of SimCode: time 1.153e-06/1.033, allocations: 1.094 kB / 1.1 GB, free: 51.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.03904/1.072, allocations: 19.02 MB / 1.119 GB, free: 45.43 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 -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