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.001002/0.001002, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 180.6 kB / 16.92 MB, free: 6.918 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.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.639/2.639, allocations: 437.8 MB / 0.7128 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003635, allocations: 11.98 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7868, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03162/0.8185, allocations: 28.47 MB / 1.051 GB, free: 3.324 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.8296, allocations: 6.822 MB / 1.058 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.8311, allocations: 39.69 kB / 1.058 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.833, allocations: 0.5948 MB / 1.059 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00425/0.8372, allocations: 1.353 MB / 1.06 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.8405, allocations: 1.034 MB / 1.061 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004282/0.8448, allocations: 3.226 MB / 1.064 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.8465, allocations: 0.7112 MB / 1.065 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.8487, allocations: 0.9178 MB / 1.066 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.8501, allocations: 0.8129 MB / 1.067 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.8503, allocations: 36 kB / 1.067 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.8524, allocations: 0.7638 MB / 1.067 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003797/0.8528, allocations: 246.9 kB / 1.068 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007937/0.8536, allocations: 0.5336 MB / 1.068 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.8554, allocations: 1.118 MB / 1.069 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.8554, allocations: 4 kB / 1.069 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.715e-06/0.8554, allocations: 4 kB / 1.069 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.803e-05/0.8555, allocations: 4 kB / 1.069 GB, free: 1.051 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.002903/0.8584, allocations: 1.36 MB / 1.071 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.8585, allocations: 12.03 kB / 1.071 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003621/0.8621, allocations: 0.6275 MB / 1.071 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.8637, allocations: 0.8056 MB / 1.072 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.915e-05/0.8638, allocations: 54.38 kB / 1.072 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.864, allocations: 83.88 kB / 1.072 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.8667, allocations: 1.107 MB / 1.073 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.8667, allocations: 7.938 kB / 1.073 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/0.8668, allocations: 28 kB / 1.073 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.8668, allocations: 16 kB / 1.073 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003161/0.87, allocations: 1.024 MB / 1.074 GB, free: 11.73 MB / 0.8262 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.006513/0.8765, allocations: 4.978 MB / 1.079 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/0.8796, allocations: 0.9498 MB / 1.08 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.8811, allocations: 0.4913 MB / 1.081 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/0.8826, allocations: 1.611 MB / 1.082 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001788/0.8845, allocations: 0.5845 MB / 1.083 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 3.246e-06/0.8845, allocations: 3.938 kB / 1.083 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.00492/0.8894, allocations: 1.524 MB / 1.084 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.8895, allocations: 55.97 kB / 1.084 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.8912, allocations: 1.108 MB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.082e-05/0.8913, allocations: 45.7 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/0.8918, allocations: 0.5472 MB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.8921, allocations: 213.1 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.8922, allocations: 65.69 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.8923, allocations: 337.9 kB / 1.086 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.8938, allocations: 461.6 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.8956, allocations: 0.732 MB / 1.088 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.8986, allocations: 1.14 MB / 1.089 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.8987, allocations: 4 kB / 1.089 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003847/0.9025, allocations: 1.294 MB / 1.09 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.9026, allocations: 8 kB / 1.09 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.9026, allocations: 11.98 kB / 1.09 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.9026, allocations: 12 kB / 1.09 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.9039, allocations: 275.7 kB / 1.09 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.205e-05/0.9039, allocations: 15.94 kB / 1.09 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.9053, allocations: 206.9 kB / 1.091 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.9054, allocations: 47.97 kB / 1.091 GB, free: 10.09 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.000543/0.906, allocations: 295.7 kB / 1.091 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.9063, allocations: 122.4 kB / 1.091 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/0.9103, allocations: 1.379 MB / 1.092 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/0.9104, allocations: 16 kB / 1.092 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.9104, allocations: 0 / 1.092 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.9104, allocations: 7.984 kB / 1.092 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005453/0.9159, allocations: 2.393 MB / 1.095 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.9159, allocations: 0 / 1.095 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.917, allocations: 192 kB / 1.095 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/0.917, allocations: 7.938 kB / 1.095 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-05/0.9171, allocations: 27.97 kB / 1.095 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.9171, allocations: 4 kB / 1.095 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.9171, allocations: 3.984 kB / 1.095 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005395/0.9225, allocations: 2.012 MB / 1.097 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/0.9231, allocations: 287.3 kB / 1.097 GB, free: 3.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.9233, allocations: 12 kB / 1.097 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.9244, allocations: 131.9 kB / 1.097 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.9245, allocations: 56.38 kB / 1.097 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.558e-05/0.9246, allocations: 31.97 kB / 1.097 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001091/0.9257, allocations: 0.7639 MB / 1.098 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9257, allocations: 3.938 kB / 1.098 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001275/0.927, allocations: 343.6 kB / 1.098 GB, free: 1.879 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.001671/0.9287, allocations: 0.6609 MB / 1.099 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003581/0.9323, allocations: 1.138 MB / 1.1 GB, free: 248 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.9323, allocations: 0 / 1.1 GB, free: 248 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.9341, allocations: 0.5853 MB / 1.101 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.9367, allocations: 429.6 kB / 1.101 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/0.9424, allocations: 2.84 MB / 1.104 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000892/0.9434, allocations: 1.104 MB / 1.105 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005348/0.9439, allocations: 115.4 kB / 1.105 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of SimCode: time 6.91e-07/0.9439, allocations: 0 / 1.105 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of Templates: time 0.03255/0.9765, allocations: 18.84 MB / 1.124 GB, free: 8.426 MB / 0.8731 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