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.001331/0.001331, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001387/0.001387, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.577/2.577, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003271, allocations: 8 kB / 0.8708 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6195/0.6198, allocations: 153.6 MB / 1.021 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02364/0.6435, allocations: 24.59 MB / 1.045 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008584/0.6521, allocations: 5.948 MB / 1.051 GB, free: 2.648 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009386/0.6531, allocations: 39.69 kB / 1.051 GB, free: 2.609 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.6545, allocations: 0.638 MB / 1.051 GB, free: 1.969 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.6571, allocations: 1.208 MB / 1.052 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.6602, allocations: 1.308 MB / 1.054 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.00231/0.6625, allocations: 1.58 MB / 1.055 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009929/0.6635, allocations: 0.6664 MB / 1.056 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.665, allocations: 0.8408 MB / 1.057 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007632/0.6658, allocations: 0.564 MB / 1.057 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.888e-05/0.6659, allocations: 36 kB / 1.057 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.6675, allocations: 0.5266 MB / 1.058 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.6677, allocations: 227.1 kB / 1.058 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003541/0.6681, allocations: 237 kB / 1.058 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.6699, allocations: 1.019 MB / 1.059 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.6699, allocations: 0 / 1.059 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6699, allocations: 0 / 1.059 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.67, allocations: 0 / 1.059 GB, free: 9.762 MB / 0.8106 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.002535/0.6725, allocations: 1.372 MB / 1.061 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.6725, allocations: 11.98 kB / 1.061 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/0.676, allocations: 0.6266 MB / 1.061 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.6774, allocations: 0.7662 MB / 1.062 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/0.6775, allocations: 58 kB / 1.062 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.6776, allocations: 75.94 kB / 1.062 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/0.6799, allocations: 1.103 MB / 1.063 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.68, allocations: 8 kB / 1.063 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.6801, allocations: 28 kB / 1.063 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.6801, allocations: 16 kB / 1.063 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/0.6832, allocations: 1.023 MB / 1.064 GB, free: 4.484 MB / 0.8106 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.00574/0.6889, allocations: 4.967 MB / 1.069 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002928/0.6919, allocations: 0.9498 MB / 1.07 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.6932, allocations: 1.596 MB / 1.072 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/0.6949, allocations: 0.5807 MB / 1.072 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 2.415e-06/0.6949, allocations: 4 kB / 1.072 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.004721/0.6996, allocations: 1.512 MB / 1.074 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.6997, allocations: 63.97 kB / 1.074 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.701, allocations: 1.104 MB / 1.075 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.209e-05/0.7011, allocations: 45.7 kB / 1.075 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.7015, allocations: 0.5396 MB / 1.075 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.7017, allocations: 217 kB / 1.076 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.7017, allocations: 16 kB / 1.076 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7019, allocations: 337.9 kB / 1.076 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.7033, allocations: 461.6 kB / 1.076 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.7049, allocations: 0.7203 MB / 1.077 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.7064, allocations: 497.8 kB / 1.078 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.7064, allocations: 4 kB / 1.078 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003495/0.7099, allocations: 1.285 MB / 1.079 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.71, allocations: 8.938 kB / 1.079 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.71, allocations: 8 kB / 1.079 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.71, allocations: 19.94 kB / 1.079 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.7113, allocations: 271.6 kB / 1.079 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.7113, allocations: 15.94 kB / 1.079 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.7125, allocations: 214.9 kB / 1.079 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.925e-05/0.7127, allocations: 39.98 kB / 1.079 GB, free: 4.211 MB / 0.8262 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004493/0.7131, allocations: 299.7 kB / 1.08 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.7133, allocations: 122.5 kB / 1.08 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00373/0.717, allocations: 1.379 MB / 1.081 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.717, allocations: 4 kB / 1.081 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.717, allocations: 4 kB / 1.081 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.7171, allocations: 3.984 kB / 1.081 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004954/0.722, allocations: 2.393 MB / 1.083 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.7221, allocations: 0 / 1.083 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.7231, allocations: 199.9 kB / 1.084 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.7231, allocations: 7.953 kB / 1.084 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.7232, allocations: 31.97 kB / 1.084 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.7232, allocations: 4 kB / 1.084 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.7232, allocations: 0 / 1.084 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005114/0.7283, allocations: 2.073 MB / 1.086 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004876/0.7288, allocations: 283.3 kB / 1.086 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.729, allocations: 27.94 kB / 1.086 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.73, allocations: 127.8 kB / 1.086 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/0.7301, allocations: 52.48 kB / 1.086 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.117e-05/0.7302, allocations: 32.06 kB / 1.086 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009289/0.7311, allocations: 0.7521 MB / 1.087 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7312, allocations: 7.938 kB / 1.087 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001026/0.7322, allocations: 339.6 kB / 1.087 GB, free: 11.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001347/0.7335, allocations: 0.6489 MB / 1.088 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003327/0.7369, allocations: 1.13 MB / 1.089 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7369, allocations: 0 / 1.089 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.7386, allocations: 0.5853 MB / 1.09 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.7405, allocations: 426.6 kB / 1.09 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/0.7454, allocations: 2.692 MB / 1.093 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.7461, allocations: 1.133 MB / 1.094 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001091/0.7472, allocations: 248.6 kB / 1.094 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.7476, allocations: 107.4 kB / 1.094 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of SimCode: time 6.11e-07/0.7476, allocations: 0 / 1.094 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of Templates: time 0.03027/0.7778, allocations: 18.43 MB / 1.112 GB, free: 2.879 MB / 0.8575 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 -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","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches