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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001191/0.001191, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001428/0.001428, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 472.7 MB / 0.7447 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.84 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.446, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02967/0.4758, allocations: 29.17 MB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.4868, allocations: 6.912 MB / 1.103 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001864/0.4887, allocations: 47.69 kB / 1.103 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.4906, allocations: 0.5988 MB / 1.103 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004329/0.4949, allocations: 1.342 MB / 1.105 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.4981, allocations: 1.045 MB / 1.106 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004358/0.5025, allocations: 3.226 MB / 1.109 GB, free: 396 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.5038, allocations: 0.7233 MB / 1.11 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.5061, allocations: 0.9373 MB / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.5073, allocations: 0.8324 MB / 1.111 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.5074, allocations: 40 kB / 1.111 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.5095, allocations: 0.7638 MB / 1.112 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.5098, allocations: 258.9 kB / 1.112 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006276/0.5105, allocations: 0.5319 MB / 1.113 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00226/0.5127, allocations: 1.569 MB / 1.114 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.5127, allocations: 0 / 1.114 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5128, allocations: 0 / 1.114 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.5128, allocations: 4 kB / 1.114 GB, free: 10.7 MB / 0.8731 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.002784/0.5156, allocations: 1.559 MB / 1.116 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5156, allocations: 11.97 kB / 1.116 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/0.5192, allocations: 0.5885 MB / 1.117 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.5206, allocations: 0.8056 MB / 1.117 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.5206, allocations: 58.36 kB / 1.117 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.5208, allocations: 79.94 kB / 1.117 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.5232, allocations: 1.096 MB / 1.119 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.5233, allocations: 3.938 kB / 1.119 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/0.5234, allocations: 32 kB / 1.119 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.5234, allocations: 20 kB / 1.119 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.5263, allocations: 1.008 MB / 1.12 GB, free: 5.254 MB / 0.8731 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.006179/0.5325, allocations: 4.943 MB / 1.124 GB, free: 20 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/0.5353, allocations: 0.9012 MB / 1.125 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.5367, allocations: 491 kB / 1.126 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/0.5382, allocations: 1.591 MB / 1.127 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/0.5399, allocations: 0.5768 MB / 1.128 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 2.705e-06/0.5399, allocations: 3.938 kB / 1.128 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.004646/0.5445, allocations: 1.485 MB / 1.129 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.5446, allocations: 63.95 kB / 1.129 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.546, allocations: 1.116 MB / 1.13 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.922e-05/0.546, allocations: 37.7 kB / 1.13 GB, free: 9.355 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004302/0.5465, allocations: 0.5473 MB / 1.131 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.5467, allocations: 209 kB / 1.131 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.547, allocations: 166.5 kB / 1.131 GB, free: 8.426 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5471, allocations: 338 kB / 1.132 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.5485, allocations: 449.6 kB / 1.132 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.55, allocations: 0.7125 MB / 1.133 GB, free: 6.828 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.5528, allocations: 1.117 MB / 1.134 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.5528, allocations: 0 / 1.134 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003318/0.5562, allocations: 1.286 MB / 1.135 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.5562, allocations: 8 kB / 1.135 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.5562, allocations: 8 kB / 1.135 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.5562, allocations: 12 kB / 1.135 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.5574, allocations: 263.7 kB / 1.135 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/0.5575, allocations: 19.92 kB / 1.135 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.5587, allocations: 199 kB / 1.136 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/0.5588, allocations: 43.98 kB / 1.136 GB, free: 3.766 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.0004952/0.5593, allocations: 293.8 kB / 1.136 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.5595, allocations: 122.4 kB / 1.136 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003568/0.5631, allocations: 1.367 MB / 1.137 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.5631, allocations: 15.98 kB / 1.137 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5631, allocations: 0 / 1.137 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5631, allocations: 3.984 kB / 1.137 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/0.5679, allocations: 2.358 MB / 1.14 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.568, allocations: 4 kB / 1.14 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.569, allocations: 187.9 kB / 1.14 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.569, allocations: 8 kB / 1.14 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/0.5691, allocations: 23.97 kB / 1.14 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.5691, allocations: 4 kB / 1.14 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5691, allocations: 0 / 1.14 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004969/0.5741, allocations: 1.977 MB / 1.142 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/0.5746, allocations: 279.3 kB / 1.142 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.5748, allocations: 12 kB / 1.142 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.5759, allocations: 127.8 kB / 1.142 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.576, allocations: 52.38 kB / 1.142 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.591e-05/0.5761, allocations: 35.97 kB / 1.142 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001156/0.5773, allocations: 0.7638 MB / 1.143 GB, free: 12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.5773, allocations: 96 / 1.143 GB, free: 12 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00136/0.5787, allocations: 351.5 kB / 1.143 GB, free: 11.66 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.002001/0.5807, allocations: 0.6566 MB / 1.144 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003551/0.5842, allocations: 1.11 MB / 1.145 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5843, allocations: 0 / 1.145 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.5859, allocations: 0.5697 MB / 1.146 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/0.5883, allocations: 439 kB / 1.146 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/0.594, allocations: 2.722 MB / 1.149 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008566/0.5949, allocations: 1.104 MB / 1.15 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001195/0.5961, allocations: 248.6 kB / 1.15 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.5965, allocations: 107.4 kB / 1.15 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of SimCode: time 1.032e-06/0.5965, allocations: 0 / 1.15 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of Templates: time 0.04038/0.6369, allocations: 19.06 MB / 1.169 GB, free: 1.992 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