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.0009994/0.0009993, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001186/0.001186, allocations: 168.7 kB / 15.95 MB, free: 204 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.476/1.476, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.851/2.851, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004024, allocations: 11.5 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3681, allocations: 159.6 MB / 1.058 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03181/0.3999, allocations: 26.93 MB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.4102, allocations: 6.476 MB / 1.091 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.4116, allocations: 47.62 kB / 1.091 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.4131, allocations: 0.548 MB / 1.091 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.4165, allocations: 1.193 MB / 1.092 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.4191, allocations: 0.9393 MB / 1.093 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003493/0.4226, allocations: 2.761 MB / 1.096 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.4237, allocations: 0.6389 MB / 1.097 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/0.4255, allocations: 0.8945 MB / 1.098 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.4265, allocations: 0.7508 MB / 1.098 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.211e-05/0.4266, allocations: 36 kB / 1.098 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.4281, allocations: 0.495 MB / 1.099 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.4284, allocations: 239 kB / 1.099 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.4287, allocations: 225.1 kB / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.43, allocations: 1.037 MB / 1.1 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.43, allocations: 0 / 1.1 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/0.43, allocations: 0 / 1.1 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.43, allocations: 0 / 1.1 GB, free: 10.05 MB / 0.8575 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.002323/0.4323, allocations: 1.36 MB / 1.102 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4324, allocations: 12.03 kB / 1.102 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003003/0.4354, allocations: 0.6305 MB / 1.102 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.4365, allocations: 0.7661 MB / 1.103 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.4366, allocations: 57.95 kB / 1.103 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.4367, allocations: 79.98 kB / 1.103 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.4389, allocations: 1.107 MB / 1.104 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.4389, allocations: 0 / 1.104 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/0.439, allocations: 35.94 kB / 1.104 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.439, allocations: 20 kB / 1.104 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/0.4417, allocations: 1.02 MB / 1.105 GB, free: 4.781 MB / 0.8575 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.005127/0.4468, allocations: 4.955 MB / 1.11 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.4494, allocations: 0.9537 MB / 1.111 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.4507, allocations: 0.4937 MB / 1.111 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.452, allocations: 1.611 MB / 1.113 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001495/0.4535, allocations: 0.5807 MB / 1.114 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 2.765e-06/0.4535, allocations: 0 / 1.114 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.004327/0.4578, allocations: 1.508 MB / 1.115 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.4579, allocations: 59.97 kB / 1.115 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.4591, allocations: 1.116 MB / 1.116 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.116e-05/0.4592, allocations: 37.7 kB / 1.116 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.4596, allocations: 0.5473 MB / 1.117 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.4598, allocations: 209.1 kB / 1.117 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.4599, allocations: 16 kB / 1.117 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.46, allocations: 337.9 kB / 1.117 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.4613, allocations: 461.6 kB / 1.118 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.4628, allocations: 0.7281 MB / 1.118 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.4641, allocations: 497.8 kB / 1.119 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.4642, allocations: 96 / 1.119 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003359/0.4675, allocations: 1.294 MB / 1.12 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.4676, allocations: 12.19 kB / 1.12 GB, free: 4.559 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.4676, allocations: 8 kB / 1.12 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.4676, allocations: 12 kB / 1.12 GB, free: 4.539 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.4688, allocations: 275.6 kB / 1.12 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.4688, allocations: 15.94 kB / 1.12 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.4701, allocations: 195 kB / 1.121 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.4702, allocations: 55.97 kB / 1.121 GB, free: 4.008 MB / 0.8731 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.0005149/0.4707, allocations: 296.2 kB / 1.121 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.4709, allocations: 118.5 kB / 1.121 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003485/0.4744, allocations: 1.386 MB / 1.122 GB, free: 2.199 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.4744, allocations: 8 kB / 1.122 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4744, allocations: 4 kB / 1.122 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.4744, allocations: 3.984 kB / 1.122 GB, free: 2.184 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004532/0.479, allocations: 2.394 MB / 1.125 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.479, allocations: 0 / 1.125 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009413/0.4799, allocations: 199.9 kB / 1.125 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.577e-06/0.48, allocations: 4 kB / 1.125 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.48, allocations: 19.98 kB / 1.125 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.48, allocations: 7.984 kB / 1.125 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.48, allocations: 4 kB / 1.125 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004473/0.4845, allocations: 1.997 MB / 1.127 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/0.4851, allocations: 295.3 kB / 1.127 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.4852, allocations: 12 kB / 1.127 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008848/0.4861, allocations: 131.9 kB / 1.127 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4862, allocations: 48.5 kB / 1.127 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/0.4863, allocations: 35.95 kB / 1.128 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008571/0.4872, allocations: 0.756 MB / 1.128 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4872, allocations: 0 / 1.128 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001011/0.4882, allocations: 339.6 kB / 1.129 GB, free: 11.82 MB / 0.8887 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.001405/0.4896, allocations: 0.6485 MB / 1.129 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003002/0.4926, allocations: 1.122 MB / 1.13 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4926, allocations: 4 kB / 1.13 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/0.4941, allocations: 0.5892 MB / 1.131 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.4962, allocations: 436.7 kB / 1.131 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004787/0.501, allocations: 2.7 MB / 1.134 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.5016, allocations: 1.102 MB / 1.135 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001092/0.5027, allocations: 244.6 kB / 1.135 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.503, allocations: 107.4 kB / 1.135 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of SimCode: time 8.72e-07/0.503, allocations: 4 kB / 1.135 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of Templates: time 0.03171/0.5348, allocations: 18.44 MB / 1.153 GB, free: 2.805 MB / 0.9044 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","/var/lib/jenkins/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