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.001866/0.001866, allocations: 108.1 kB / 16.36 MB, free: 5.824 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.001832/0.001832, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.458/2.458, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.23 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2745, 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.02779/0.3023, allocations: 29.34 MB / 1.055 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.3129, allocations: 6.864 MB / 1.062 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.3152, allocations: 47.69 kB / 1.062 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.3176, allocations: 0.6992 MB / 1.063 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004592/0.3222, allocations: 1.442 MB / 1.064 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.3254, allocations: 1.164 MB / 1.065 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003604/0.329, allocations: 2.481 MB / 1.068 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.3303, allocations: 0.7904 MB / 1.069 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.3323, allocations: 1.015 MB / 1.07 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.3334, allocations: 0.813 MB / 1.07 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.3335, allocations: 68 kB / 1.07 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.3353, allocations: 0.8187 MB / 1.071 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002696/0.3356, allocations: 282.9 kB / 1.071 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006393/0.3362, allocations: 0.5437 MB / 1.072 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003765/0.34, allocations: 1.612 MB / 1.074 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.34, allocations: 3.984 kB / 1.074 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3401, allocations: 4 kB / 1.074 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.3401, 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.003333/0.3434, allocations: 1.555 MB / 1.075 GB, free: 328 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.3435, allocations: 12.03 kB / 1.075 GB, free: 316 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4628/0.8063, allocations: 0.5818 MB / 1.076 GB, free: 56.72 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.8084, allocations: 0.8809 MB / 1.077 GB, free: 56.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.89e-05/0.8085, allocations: 60.92 kB / 1.077 GB, free: 56.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.8087, allocations: 76.22 kB / 1.077 GB, free: 56.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.8113, allocations: 1.099 MB / 1.078 GB, free: 56.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.8114, allocations: 5.062 kB / 1.078 GB, free: 56.15 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.619e-05/0.8115, allocations: 34.81 kB / 1.078 GB, free: 56.15 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.8115, allocations: 18.69 kB / 1.078 GB, free: 56.15 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003111/0.8146, allocations: 1.001 MB / 1.079 GB, free: 55.92 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.005944/0.8206, allocations: 4.94 MB / 1.084 GB, free: 52.14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/0.8236, allocations: 0.8956 MB / 1.084 GB, free: 51.92 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.825, allocations: 495.6 kB / 1.085 GB, free: 51.8 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.8261, allocations: 1.584 MB / 1.086 GB, free: 50 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001664/0.8278, allocations: 0.5726 MB / 1.087 GB, free: 49.83 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 3.036e-06/0.8278, allocations: 4 kB / 1.087 GB, free: 49.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.004899/0.8327, allocations: 1.484 MB / 1.088 GB, free: 49.4 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.8327, allocations: 58.53 kB / 1.089 GB, free: 49.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.8344, allocations: 1.118 MB / 1.09 GB, free: 48.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-05/0.8345, allocations: 38.98 kB / 1.09 GB, free: 48.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003971/0.8349, allocations: 0.55 MB / 1.09 GB, free: 48.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.8351, allocations: 204.6 kB / 1.09 GB, free: 48.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/0.8354, allocations: 172.7 kB / 1.091 GB, free: 48.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.8355, allocations: 334.5 kB / 1.091 GB, free: 47.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.837, allocations: 451.1 kB / 1.091 GB, free: 47.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.8386, allocations: 0.7211 MB / 1.092 GB, free: 47.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/0.8417, allocations: 1.111 MB / 1.093 GB, free: 46.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.8417, allocations: 2.156 kB / 1.093 GB, free: 46.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003821/0.8455, allocations: 1.271 MB / 1.094 GB, free: 46.35 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.8456, allocations: 8.125 kB / 1.094 GB, free: 46.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.8456, allocations: 8.938 kB / 1.094 GB, free: 46.35 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.494e-05/0.8457, allocations: 16.61 kB / 1.094 GB, free: 46.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.8469, allocations: 274.2 kB / 1.095 GB, free: 46.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.551e-05/0.847, allocations: 14.53 kB / 1.095 GB, free: 46.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.8484, allocations: 180.7 kB / 1.095 GB, free: 46.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.8485, allocations: 54.27 kB / 1.095 GB, free: 46.24 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.000636/0.8492, allocations: 297.1 kB / 1.095 GB, free: 46.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/0.8496, allocations: 120.4 kB / 1.095 GB, free: 45.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/0.8536, allocations: 1.357 MB / 1.097 GB, free: 45.56 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.8537, allocations: 13.94 kB / 1.097 GB, free: 45.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.8537, allocations: 0 / 1.097 GB, free: 45.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.8537, allocations: 3.703 kB / 1.097 GB, free: 45.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005764/0.8595, allocations: 2.371 MB / 1.099 GB, free: 44.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/0.8595, allocations: 1.562 kB / 1.099 GB, free: 44.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.8605, allocations: 191.7 kB / 1.099 GB, free: 44.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/0.8606, allocations: 4.125 kB / 1.099 GB, free: 44.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.522e-05/0.8607, allocations: 25.22 kB / 1.099 GB, free: 44.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.8607, allocations: 4.734 kB / 1.099 GB, free: 44.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8607, allocations: 1.375 kB / 1.099 GB, free: 44.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005285/0.866, allocations: 1.978 MB / 1.101 GB, free: 43.76 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006858/0.8667, allocations: 279.7 kB / 1.101 GB, free: 43.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/0.867, allocations: 15.67 kB / 1.101 GB, free: 43.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.8681, allocations: 109.3 kB / 1.101 GB, free: 43.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.8682, allocations: 52.91 kB / 1.102 GB, free: 43.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.8683, allocations: 36.8 kB / 1.102 GB, free: 43.51 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001271/0.8696, allocations: 0.7642 MB / 1.102 GB, free: 43.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8696, allocations: 0 / 1.102 GB, free: 43.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001475/0.8711, allocations: 341.5 kB / 1.103 GB, free: 43.17 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.001683/0.8728, allocations: 0.6637 MB / 1.103 GB, free: 42.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003599/0.8764, allocations: 1.11 MB / 1.104 GB, free: 42.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.8764, allocations: 4.938 kB / 1.104 GB, free: 42.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.8782, allocations: 0.5728 MB / 1.105 GB, free: 42.51 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.8805, allocations: 452.5 kB / 1.105 GB, free: 42.36 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/0.8858, allocations: 2.338 MB / 1.108 GB, free: 41.26 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008503/0.8867, allocations: 1.106 MB / 1.109 GB, free: 40.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001123/0.8878, allocations: 248.9 kB / 1.109 GB, free: 40.45 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/0.8882, allocations: 111.9 kB / 1.109 GB, free: 40.43 MB / 0.8419 GB Notification: Performance of SimCode: time 8.81e-07/0.8882, allocations: 0 / 1.109 GB, free: 40.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.03985/0.9281, allocations: 19.88 MB / 1.128 GB, free: 32.66 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 gbode -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