Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001616/0.001616, allocations: 104.8 kB / 16.35 MB, free: 6.285 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.001131/0.001131, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.339/1.339, 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 11.0.0-master/package.mo): time 2.516/2.516, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 72.56 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3608, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02889/0.3897, allocations: 29.35 MB / 1.055 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.3999, allocations: 6.864 MB / 1.062 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.4012, allocations: 47.69 kB / 1.062 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.4029, allocations: 0.6953 MB / 1.063 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.407, allocations: 1.45 MB / 1.064 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.4099, allocations: 1.158 MB / 1.065 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002991/0.4129, allocations: 2.473 MB / 1.068 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.414, allocations: 0.8059 MB / 1.069 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.4158, allocations: 1.008 MB / 1.07 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.4169, allocations: 0.8169 MB / 1.07 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.417, allocations: 64 kB / 1.07 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.4191, allocations: 0.8188 MB / 1.071 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.4194, allocations: 274.9 kB / 1.071 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006701/0.42, allocations: 0.5592 MB / 1.072 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.4223, allocations: 1.604 MB / 1.074 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4223, allocations: 0 / 1.074 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4223, allocations: 4 kB / 1.074 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.4223, allocations: 0 / 1.074 GB, free: 1.93 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.002781/0.4251, allocations: 1.566 MB / 1.075 GB, free: 316 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.4252, allocations: 8.031 kB / 1.075 GB, free: 308 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5921/1.017, allocations: 0.5793 MB / 1.076 GB, free: 56.56 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/1.019, allocations: 0.8739 MB / 1.077 GB, free: 56.26 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.234e-05/1.02, allocations: 58.58 kB / 1.077 GB, free: 56.26 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/1.02, allocations: 74.33 kB / 1.077 GB, free: 56.26 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/1.022, allocations: 1.101 MB / 1.078 GB, free: 56 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/1.023, allocations: 5.5 kB / 1.078 GB, free: 56 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.705e-05/1.023, allocations: 36.58 kB / 1.078 GB, free: 55.99 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/1.023, allocations: 17.44 kB / 1.078 GB, free: 55.99 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003124/1.026, allocations: 1.002 MB / 1.079 GB, free: 55.75 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.006375/1.032, allocations: 4.934 MB / 1.084 GB, free: 51.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003037/1.035, allocations: 0.9065 MB / 1.084 GB, free: 51.76 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/1.037, allocations: 487.3 kB / 1.085 GB, free: 51.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/1.038, allocations: 1.587 MB / 1.086 GB, free: 49.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001896/1.04, allocations: 0.5718 MB / 1.087 GB, free: 49.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 3.597e-06/1.04, allocations: 0 / 1.087 GB, free: 49.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.005345/1.045, allocations: 1.487 MB / 1.088 GB, free: 49.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/1.045, allocations: 63.2 kB / 1.089 GB, free: 49.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/1.047, allocations: 1.114 MB / 1.09 GB, free: 48.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.529e-05/1.047, allocations: 43.34 kB / 1.09 GB, free: 48.71 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004634/1.048, allocations: 0.55 MB / 1.09 GB, free: 48.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/1.048, allocations: 209.1 kB / 1.09 GB, free: 48.12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003391/1.048, allocations: 164.6 kB / 1.091 GB, free: 48.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.048, allocations: 334.8 kB / 1.091 GB, free: 47.73 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/1.05, allocations: 454.5 kB / 1.091 GB, free: 47.61 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/1.052, allocations: 0.7186 MB / 1.092 GB, free: 47.17 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/1.055, allocations: 1.117 MB / 1.093 GB, free: 46.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/1.055, allocations: 3.562 kB / 1.093 GB, free: 46.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003885/1.059, allocations: 1.269 MB / 1.094 GB, free: 46.17 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.059, allocations: 7.875 kB / 1.094 GB, free: 46.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/1.059, allocations: 7.969 kB / 1.094 GB, free: 46.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.783e-05/1.059, allocations: 16.75 kB / 1.094 GB, free: 46.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/1.06, allocations: 272.9 kB / 1.095 GB, free: 46.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.881e-05/1.06, allocations: 13.7 kB / 1.095 GB, free: 46.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/1.062, allocations: 187.5 kB / 1.095 GB, free: 46.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/1.062, allocations: 45.14 kB / 1.095 GB, free: 46.07 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.0005626/1.062, allocations: 297.1 kB / 1.095 GB, free: 45.87 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/1.063, allocations: 120.3 kB / 1.095 GB, free: 45.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/1.066, allocations: 1.351 MB / 1.097 GB, free: 45.38 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/1.066, allocations: 16.84 kB / 1.097 GB, free: 45.38 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.066, allocations: 0.6562 kB / 1.097 GB, free: 45.38 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/1.066, allocations: 5.562 kB / 1.097 GB, free: 45.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00553/1.072, allocations: 2.37 MB / 1.099 GB, free: 44.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.072, allocations: 5.344 kB / 1.099 GB, free: 44.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/1.073, allocations: 187.1 kB / 1.099 GB, free: 44.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/1.073, allocations: 10.2 kB / 1.099 GB, free: 44.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.357e-05/1.073, allocations: 28.25 kB / 1.099 GB, free: 44.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/1.073, allocations: 4.266 kB / 1.099 GB, free: 44.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.073, allocations: 1.812 kB / 1.099 GB, free: 44.34 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005018/1.078, allocations: 1.975 MB / 1.101 GB, free: 43.59 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006167/1.079, allocations: 278.8 kB / 1.101 GB, free: 43.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/1.079, allocations: 20.73 kB / 1.101 GB, free: 43.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.08, allocations: 101.3 kB / 1.101 GB, free: 43.36 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/1.08, allocations: 53.86 kB / 1.102 GB, free: 43.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.08, allocations: 38.02 kB / 1.102 GB, free: 43.34 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001561/1.082, allocations: 0.7634 MB / 1.102 GB, free: 43.05 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/1.082, allocations: 0 / 1.102 GB, free: 43.05 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001792/1.084, allocations: 344 kB / 1.103 GB, free: 43 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.002124/1.086, allocations: 0.664 MB / 1.103 GB, free: 42.77 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003932/1.09, allocations: 1.12 MB / 1.104 GB, free: 42.47 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.09, allocations: 5.188 kB / 1.104 GB, free: 42.47 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.092, allocations: 0.5685 MB / 1.105 GB, free: 42.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/1.094, allocations: 451.4 kB / 1.105 GB, free: 42.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/1.099, allocations: 2.342 MB / 1.108 GB, free: 41.08 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008364/1.1, allocations: 1.107 MB / 1.109 GB, free: 40.34 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001048/1.101, allocations: 239.6 kB / 1.109 GB, free: 40.27 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/1.101, allocations: 108.2 kB / 1.109 GB, free: 40.26 MB / 0.8419 GB Notification: Performance of SimCode: time 1.503e-06/1.101, allocations: 4 kB / 1.109 GB, free: 40.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.03952/1.14, allocations: 19.88 MB / 1.128 GB, free: 32.5 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches