Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001423/0.001423, allocations: 104.8 kB / 16.41 MB, free: 6.508 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.00148/0.00148, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9479/0.9493, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03352/0.9829, allocations: 29.33 MB / 1.117 GB, free: 480 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01215/0.9951, allocations: 6.879 MB / 1.124 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.9974, allocations: 47.09 kB / 1.124 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002498/1, allocations: 0.6939 MB / 1.125 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005399/1.005, allocations: 1.451 MB / 1.126 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/1.009, allocations: 1.153 MB / 1.127 GB, free: 9.863 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004614/1.014, allocations: 2.475 MB / 1.13 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/1.016, allocations: 0.8003 MB / 1.13 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/1.019, allocations: 1.039 MB / 1.131 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/1.021, allocations: 0.812 MB / 1.132 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004298/1.021, allocations: 70.59 kB / 1.132 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/1.024, allocations: 0.8207 MB / 1.133 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006755/1.025, allocations: 278.8 kB / 1.133 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001613/1.027, allocations: 0.5492 MB / 1.134 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004638/1.031, allocations: 1.612 MB / 1.136 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.031, allocations: 2.156 kB / 1.136 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.375e-06/1.031, allocations: 0 / 1.136 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.791e-05/1.032, allocations: 0 / 1.136 GB, free: 6.207 MB / 0.8887 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.004683/1.036, allocations: 1.572 MB / 1.137 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/1.036, allocations: 9.875 kB / 1.137 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003888/1.04, allocations: 0.5852 MB / 1.138 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/1.042, allocations: 0.8703 MB / 1.138 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/1.042, allocations: 62.25 kB / 1.139 GB, free: 4.484 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/1.043, allocations: 74.95 kB / 1.139 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/1.046, allocations: 1.099 MB / 1.14 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/1.046, allocations: 9.375 kB / 1.14 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.263e-05/1.046, allocations: 29.62 kB / 1.14 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/1.046, allocations: 18.47 kB / 1.14 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/1.049, allocations: 0.9979 MB / 1.141 GB, free: 3.652 MB / 0.8887 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.007572/1.057, allocations: 4.94 MB / 1.146 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/1.06, allocations: 0.903 MB / 1.146 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/1.062, allocations: 485.6 kB / 1.147 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/1.063, allocations: 1.593 MB / 1.148 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001975/1.065, allocations: 0.5761 MB / 1.149 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=61): time 4.578e-06/1.065, allocations: 1.281 kB / 1.149 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=61): time 0.005384/1.071, allocations: 1.485 MB / 1.15 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/1.071, allocations: 58.12 kB / 1.151 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/1.073, allocations: 1.114 MB / 1.152 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/1.073, allocations: 42.48 kB / 1.152 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006239/1.074, allocations: 0.5391 MB / 1.152 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/1.074, allocations: 211.9 kB / 1.152 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/1.075, allocations: 173.1 kB / 1.153 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.075, allocations: 334.9 kB / 1.153 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/1.076, allocations: 446.7 kB / 1.153 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/1.078, allocations: 0.7122 MB / 1.154 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003471/1.082, allocations: 1.122 MB / 1.155 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/1.082, allocations: 9.375 kB / 1.155 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004174/1.086, allocations: 1.276 MB / 1.156 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/1.086, allocations: 8.234 kB / 1.156 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/1.086, allocations: 15.62 kB / 1.156 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/1.086, allocations: 12.88 kB / 1.156 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/1.087, allocations: 270.8 kB / 1.157 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.269e-05/1.088, allocations: 17.92 kB / 1.157 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.089, allocations: 173.6 kB / 1.157 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/1.089, allocations: 47.41 kB / 1.157 GB, free: 9.797 MB / 0.9044 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.0007982/1.09, allocations: 297 kB / 1.157 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004613/1.091, allocations: 122.6 kB / 1.157 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004643/1.095, allocations: 1.361 MB / 1.159 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/1.095, allocations: 7.125 kB / 1.159 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.095, allocations: 0.9375 kB / 1.159 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/1.095, allocations: 3.984 kB / 1.159 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006516/1.102, allocations: 2.364 MB / 1.161 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.102, allocations: 5.375 kB / 1.161 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/1.103, allocations: 185.8 kB / 1.161 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.574e-05/1.103, allocations: 4.531 kB / 1.161 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.302e-05/1.103, allocations: 26.19 kB / 1.161 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/1.103, allocations: 3.531 kB / 1.161 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/1.103, allocations: 6.672 kB / 1.161 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005715/1.109, allocations: 1.98 MB / 1.163 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008078/1.11, allocations: 277.4 kB / 1.163 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003818/1.11, allocations: 17.3 kB / 1.163 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.111, allocations: 106.1 kB / 1.163 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/1.112, allocations: 50.94 kB / 1.163 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.112, allocations: 33.72 kB / 1.164 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001405/1.113, allocations: 0.7714 MB / 1.164 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/1.113, allocations: 0 / 1.164 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001712/1.115, allocations: 344.7 kB / 1.165 GB, free: 5.395 MB / 0.9044 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.001954/1.117, allocations: 0.6619 MB / 1.165 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003873/1.121, allocations: 1.107 MB / 1.166 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.121, allocations: 0.9688 kB / 1.166 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/1.123, allocations: 0.5794 MB / 1.167 GB, free: 4.305 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/1.125, allocations: 454.5 kB / 1.167 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005872/1.131, allocations: 2.388 MB / 1.17 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009281/1.132, allocations: 1.1 MB / 1.171 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000597/1.133, allocations: 122.5 kB / 1.171 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of SimCode: time 1.012e-06/1.133, allocations: 0 / 1.171 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of Templates: time 0.03744/1.17, allocations: 19.13 MB / 1.19 GB, free: 5.812 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches