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.001082/0.001082, allocations: 98.88 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.001446/0.001446, allocations: 187 kB / 16.92 MB, free: 6.684 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.708/2.708, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004811, allocations: 7.938 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3642, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03071/0.3949, allocations: 28.45 MB / 1.087 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.4066, allocations: 6.824 MB / 1.094 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.4084, allocations: 39.69 kB / 1.094 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.4102, allocations: 0.6027 MB / 1.094 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004204/0.4144, allocations: 1.346 MB / 1.096 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003084/0.4175, allocations: 1.041 MB / 1.097 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004191/0.4217, allocations: 3.222 MB / 1.1 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.4233, allocations: 0.7017 MB / 1.101 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.4254, allocations: 0.9139 MB / 1.101 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.4269, allocations: 0.8246 MB / 1.102 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.4272, allocations: 36 kB / 1.102 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.4294, allocations: 0.756 MB / 1.103 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004684/0.4299, allocations: 258.9 kB / 1.103 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008425/0.4307, allocations: 0.5375 MB / 1.104 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.4325, allocations: 1.122 MB / 1.105 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4325, allocations: 0 / 1.105 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4325, allocations: 0 / 1.105 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.137e-05/0.4326, allocations: 0 / 1.105 GB, free: 6.156 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.002825/0.4354, allocations: 1.36 MB / 1.106 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4355, allocations: 8.031 kB / 1.106 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/0.4392, allocations: 0.6314 MB / 1.107 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.4407, allocations: 0.8056 MB / 1.108 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.4408, allocations: 58.38 kB / 1.108 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.441, allocations: 79.86 kB / 1.108 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/0.4437, allocations: 1.107 MB / 1.109 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.4437, allocations: 3.938 kB / 1.109 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.4438, allocations: 32 kB / 1.109 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.4438, allocations: 20 kB / 1.109 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.4471, allocations: 1.024 MB / 1.11 GB, free: 0.8398 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.006797/0.4539, allocations: 4.967 MB / 1.115 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.4571, allocations: 0.9537 MB / 1.116 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.4586, allocations: 0.4892 MB / 1.116 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/0.4602, allocations: 1.604 MB / 1.118 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001766/0.4619, allocations: 0.5884 MB / 1.118 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 2.855e-06/0.462, allocations: 0 / 1.118 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.005059/0.467, allocations: 1.52 MB / 1.12 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4671, allocations: 59.97 kB / 1.12 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.4687, allocations: 1.116 MB / 1.121 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.345e-05/0.4689, allocations: 41.7 kB / 1.121 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005048/0.4694, allocations: 0.5395 MB / 1.121 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.4696, allocations: 221 kB / 1.122 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.4698, allocations: 73.61 kB / 1.122 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.4699, allocations: 334 kB / 1.122 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.4715, allocations: 465.6 kB / 1.123 GB, free: 3.176 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.4733, allocations: 0.7281 MB / 1.123 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.4765, allocations: 1.148 MB / 1.124 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.4765, allocations: 4 kB / 1.124 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003908/0.4805, allocations: 1.29 MB / 1.126 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.4805, allocations: 8 kB / 1.126 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.4805, allocations: 8 kB / 1.126 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/0.4806, allocations: 12 kB / 1.126 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.4818, allocations: 279.8 kB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.642e-05/0.4819, allocations: 23.91 kB / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.4833, allocations: 199 kB / 1.126 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.4834, allocations: 47.97 kB / 1.126 GB, free: 15.21 MB / 0.8887 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.0005865/0.484, allocations: 291.7 kB / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.4843, allocations: 122.4 kB / 1.127 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.4885, allocations: 1.382 MB / 1.128 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.4885, allocations: 15.98 kB / 1.128 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.4886, allocations: 0 / 1.128 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.4886, allocations: 3.984 kB / 1.128 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00549/0.4941, allocations: 2.39 MB / 1.13 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.4941, allocations: 4 kB / 1.13 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.4952, allocations: 195.9 kB / 1.13 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.4952, allocations: 4 kB / 1.13 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.614e-05/0.4953, allocations: 27.97 kB / 1.131 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.4953, allocations: 4 kB / 1.131 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.4953, allocations: 4 kB / 1.131 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005336/0.5007, allocations: 2.012 MB / 1.132 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005279/0.5012, allocations: 287.3 kB / 1.133 GB, free: 8.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.5014, allocations: 24 kB / 1.133 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.5025, allocations: 127.9 kB / 1.133 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.5026, allocations: 52.44 kB / 1.133 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.526e-05/0.5027, allocations: 31.97 kB / 1.133 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001047/0.5038, allocations: 0.7638 MB / 1.134 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5038, allocations: 0 / 1.134 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001143/0.5049, allocations: 347.5 kB / 1.134 GB, free: 6.988 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 (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.00159/0.5065, allocations: 0.6516 MB / 1.135 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003525/0.51, allocations: 1.13 MB / 1.136 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5101, allocations: 0 / 1.136 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.5118, allocations: 0.5853 MB / 1.136 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.5144, allocations: 439.5 kB / 1.137 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.521, allocations: 2.853 MB / 1.14 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.5222, allocations: 1.104 MB / 1.141 GB, free: 324 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/0.5228, allocations: 119.4 kB / 1.141 GB, free: 204 kB / 0.8887 GB Notification: Performance of SimCode: time 1.312e-06/0.5228, allocations: 0 / 1.141 GB, free: 204 kB / 0.8887 GB Notification: Performance of Templates: time 0.03351/0.5563, allocations: 18.83 MB / 1.159 GB, free: 13.54 MB / 0.92 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/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