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.0009126/0.0009123, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.00734/0.007341, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004106, allocations: 8.531 kB / 0.9027 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4061, allocations: 159.6 MB / 1.059 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02886/0.435, allocations: 28.46 MB / 1.086 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.4461, allocations: 6.824 MB / 1.093 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.4478, allocations: 39.69 kB / 1.093 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.4495, allocations: 0.6066 MB / 1.094 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004415/0.4539, allocations: 1.345 MB / 1.095 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.4572, allocations: 1.037 MB / 1.096 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004648/0.4619, allocations: 3.218 MB / 1.099 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.4633, allocations: 0.7134 MB / 1.1 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002262/0.4656, allocations: 0.9217 MB / 1.101 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.4669, allocations: 0.809 MB / 1.102 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.664e-05/0.467, allocations: 39.94 kB / 1.102 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.4691, allocations: 0.7639 MB / 1.102 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.4694, allocations: 254.8 kB / 1.103 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006787/0.4701, allocations: 0.5414 MB / 1.103 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.4727, allocations: 1.553 MB / 1.105 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4727, allocations: 0 / 1.105 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.205e-06/0.4727, allocations: 0 / 1.105 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.4727, allocations: 0 / 1.105 GB, free: 5.762 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.002686/0.4754, allocations: 1.36 MB / 1.106 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.4755, allocations: 12.03 kB / 1.106 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003546/0.479, allocations: 0.6353 MB / 1.107 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.4804, allocations: 0.7978 MB / 1.107 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/0.4805, allocations: 58.38 kB / 1.107 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.4806, allocations: 75.94 kB / 1.107 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.4831, allocations: 1.115 MB / 1.109 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4832, allocations: 0 / 1.109 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.817e-05/0.4832, allocations: 36 kB / 1.109 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.4833, allocations: 16 kB / 1.109 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003045/0.4863, allocations: 1.024 MB / 1.11 GB, free: 456 kB / 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.006017/0.4924, allocations: 4.97 MB / 1.114 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/0.4953, allocations: 0.9505 MB / 1.115 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.4968, allocations: 0.4906 MB / 1.116 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/0.4983, allocations: 1.599 MB / 1.117 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001688/0.5, allocations: 0.5846 MB / 1.118 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 3.006e-06/0.5, allocations: 0 / 1.118 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.004928/0.505, allocations: 1.528 MB / 1.12 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.505, allocations: 55.97 kB / 1.12 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.5067, allocations: 1.116 MB / 1.121 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.965e-05/0.5068, allocations: 41.7 kB / 1.121 GB, free: 4.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000517/0.5074, allocations: 0.5473 MB / 1.121 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.5076, allocations: 209 kB / 1.121 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.5077, allocations: 65.69 kB / 1.121 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5079, allocations: 341.9 kB / 1.122 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.5094, allocations: 465.6 kB / 1.122 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.5111, allocations: 0.7242 MB / 1.123 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003152/0.5143, allocations: 1.148 MB / 1.124 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.5143, allocations: 0 / 1.124 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003797/0.5181, allocations: 1.297 MB / 1.125 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.5181, allocations: 8.938 kB / 1.125 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.5182, allocations: 11.98 kB / 1.125 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.37e-05/0.5182, allocations: 12 kB / 1.125 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.5194, allocations: 275.7 kB / 1.126 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.289e-05/0.5195, allocations: 19.88 kB / 1.126 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.5211, allocations: 207 kB / 1.126 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.5212, allocations: 43.97 kB / 1.126 GB, free: 14.82 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.000694/0.5219, allocations: 295.8 kB / 1.126 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004002/0.5223, allocations: 126.4 kB / 1.126 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/0.5268, allocations: 1.379 MB / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.414e-05/0.5269, allocations: 8 kB / 1.128 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.5269, allocations: 0 / 1.128 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.5269, allocations: 7.922 kB / 1.128 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006551/0.5335, allocations: 2.398 MB / 1.13 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.5335, allocations: 0 / 1.13 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.5346, allocations: 191.9 kB / 1.13 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/0.5346, allocations: 4 kB / 1.13 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.66e-05/0.5347, allocations: 27.97 kB / 1.13 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.5347, allocations: 8 kB / 1.13 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.5347, allocations: 3.984 kB / 1.13 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005524/0.5402, allocations: 2.012 MB / 1.132 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006513/0.5409, allocations: 283.3 kB / 1.132 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.5412, allocations: 19.94 kB / 1.132 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.5423, allocations: 127.9 kB / 1.133 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.5425, allocations: 56.38 kB / 1.133 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.5425, allocations: 35.97 kB / 1.133 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001249/0.5438, allocations: 0.7638 MB / 1.133 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5438, allocations: 0 / 1.133 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001358/0.5452, allocations: 347.5 kB / 1.134 GB, free: 6.59 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.001797/0.547, allocations: 0.6508 MB / 1.134 GB, free: 6.098 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003549/0.5505, allocations: 1.138 MB / 1.136 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5506, allocations: 4.062 kB / 1.136 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.5523, allocations: 0.5812 MB / 1.136 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.555, allocations: 433.3 kB / 1.137 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005686/0.5607, allocations: 2.807 MB / 1.139 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008376/0.5615, allocations: 1.108 MB / 1.14 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001146/0.5627, allocations: 240.7 kB / 1.141 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/0.5631, allocations: 111.2 kB / 1.141 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of SimCode: time 1.132e-06/0.5631, allocations: 8 kB / 1.141 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.03637/0.5995, allocations: 18.93 MB / 1.159 GB, free: 12.95 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/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