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.001208/0.001208, allocations: 105.5 kB / 16.41 MB, free: 6.465 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.001224/0.001224, allocations: 187 kB / 17.34 MB, free: 5.719 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.05 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.21/2.21, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 71.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8289/0.8304, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03308/0.8636, allocations: 29.34 MB / 1.117 GB, free: 480 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01289/0.8765, allocations: 6.885 MB / 1.124 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/0.8789, allocations: 46.72 kB / 1.124 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.8815, allocations: 0.6928 MB / 1.125 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005629/0.8872, allocations: 1.521 MB / 1.126 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.8913, allocations: 1.149 MB / 1.127 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005303/0.8966, allocations: 2.479 MB / 1.13 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.8984, allocations: 0.7987 MB / 1.131 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.9016, allocations: 1.051 MB / 1.132 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.9038, allocations: 0.8056 MB / 1.132 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004397/0.9043, allocations: 66.38 kB / 1.132 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.9072, allocations: 0.8198 MB / 1.133 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006733/0.9079, allocations: 278.8 kB / 1.133 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.9096, allocations: 0.5493 MB / 1.134 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005205/0.9148, allocations: 1.62 MB / 1.136 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.9149, allocations: 1.125 kB / 1.136 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9149, allocations: 0.6562 kB / 1.136 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.433e-05/0.915, allocations: 4 kB / 1.136 GB, free: 6.16 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.005003/0.92, allocations: 1.561 MB / 1.137 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.92, allocations: 9.469 kB / 1.137 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003928/0.924, allocations: 0.5852 MB / 1.138 GB, free: 5.004 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.9266, allocations: 0.8761 MB / 1.139 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.9267, allocations: 57.62 kB / 1.139 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003339/0.927, allocations: 77.95 kB / 1.139 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003694/0.9307, allocations: 1.096 MB / 1.14 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.9308, allocations: 5.219 kB / 1.14 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.9309, allocations: 32.53 kB / 1.14 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.931, allocations: 18.44 kB / 1.14 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003713/0.9347, allocations: 1.002 MB / 1.141 GB, free: 3.613 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.008561/0.9433, allocations: 4.94 MB / 1.146 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003443/0.9468, allocations: 0.9032 MB / 1.147 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.9485, allocations: 492.6 kB / 1.147 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/0.9501, allocations: 1.588 MB / 1.149 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001991/0.9521, allocations: 0.5716 MB / 1.149 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=61): time 3.887e-06/0.9522, allocations: 1.188 kB / 1.149 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=61): time 0.005597/0.9578, allocations: 1.484 MB / 1.151 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.9578, allocations: 63.44 kB / 1.151 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.9601, allocations: 1.113 MB / 1.152 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.9603, allocations: 44.39 kB / 1.152 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005725/0.9609, allocations: 0.5454 MB / 1.152 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/0.9612, allocations: 209.8 kB / 1.152 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000388/0.9616, allocations: 164.6 kB / 1.153 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.9617, allocations: 338.4 kB / 1.153 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.9634, allocations: 446.4 kB / 1.153 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/0.9654, allocations: 0.7229 MB / 1.154 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/0.9688, allocations: 1.114 MB / 1.155 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.9688, allocations: 6.781 kB / 1.155 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004258/0.9731, allocations: 1.278 MB / 1.156 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.9731, allocations: 12.8 kB / 1.156 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.9732, allocations: 7.125 kB / 1.156 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/0.9732, allocations: 12.03 kB / 1.156 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.9745, allocations: 266.2 kB / 1.157 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-05/0.9745, allocations: 16.72 kB / 1.157 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.9761, allocations: 180.8 kB / 1.157 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.9763, allocations: 48.52 kB / 1.157 GB, free: 9.754 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.0007521/0.977, allocations: 288.6 kB / 1.157 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004527/0.9775, allocations: 122.4 kB / 1.157 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004465/0.982, allocations: 1.36 MB / 1.159 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.223e-05/0.982, allocations: 7.438 kB / 1.159 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.982, allocations: 3.984 kB / 1.159 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.982, allocations: 5.047 kB / 1.159 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006364/0.9884, allocations: 2.363 MB / 1.161 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.9885, allocations: 6.172 kB / 1.161 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.9895, allocations: 186.1 kB / 1.161 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.718e-05/0.9895, allocations: 4.344 kB / 1.161 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-05/0.9896, allocations: 33.91 kB / 1.161 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.9897, allocations: 3.281 kB / 1.161 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.9897, allocations: 2.031 kB / 1.161 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005611/0.9953, allocations: 1.977 MB / 1.163 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007583/0.9961, allocations: 273.6 kB / 1.163 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004019/0.9965, allocations: 21.47 kB / 1.163 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.9977, allocations: 109.2 kB / 1.164 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.9979, allocations: 55.98 kB / 1.164 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.998, allocations: 32.81 kB / 1.164 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00153/0.9995, allocations: 0.776 MB / 1.164 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9996, allocations: 3.938 kB / 1.164 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001801/1.001, allocations: 348.5 kB / 1.165 GB, free: 5.32 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.001915/1.003, allocations: 0.6494 MB / 1.165 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003834/1.007, allocations: 1.116 MB / 1.166 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.007, allocations: 192 / 1.166 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/1.009, allocations: 0.5751 MB / 1.167 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/1.012, allocations: 456.5 kB / 1.167 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005948/1.018, allocations: 2.376 MB / 1.17 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009449/1.019, allocations: 1.105 MB / 1.171 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/1.019, allocations: 118 kB / 1.171 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of SimCode: time 9.02e-07/1.019, allocations: 0 / 1.171 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.03728/1.057, allocations: 19.13 MB / 1.19 GB, free: 5.734 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