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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 156 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.955/2.955, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 79.75 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9454/0.9476, allocations: 181.8 MB / 1.187 GB, free: 16.15 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05621/1.004, allocations: 50.45 MB / 1.236 GB, free: 14.26 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01794/1.022, allocations: 9.752 MB / 1.245 GB, free: 7.617 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002661/1.024, allocations: 95.31 kB / 1.246 GB, free: 7.562 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002874/1.027, allocations: 0.9095 MB / 1.246 GB, free: 7.102 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007029/1.034, allocations: 2.076 MB / 1.248 GB, free: 5.926 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006475/1.041, allocations: 2.017 MB / 1.25 GB, free: 4.914 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006832/1.048, allocations: 3.815 MB / 1.254 GB, free: 3.012 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/1.05, allocations: 0.9748 MB / 1.255 GB, free: 2.312 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004972/1.055, allocations: 1.98 MB / 1.257 GB, free: 1.113 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002923/1.058, allocations: 1.205 MB / 1.258 GB, free: 440 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003369/1.058, allocations: 106.7 kB / 1.258 GB, free: 440 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003582/1.061, allocations: 1.037 MB / 1.259 GB, free: 15.91 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005751/1.062, allocations: 410.2 kB / 1.26 GB, free: 15.61 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001602/1.064, allocations: 0.695 MB / 1.26 GB, free: 15.21 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006448/1.07, allocations: 2.428 MB / 1.263 GB, free: 13.7 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.07, allocations: 3.938 kB / 1.263 GB, free: 13.7 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.743e-06/1.07, allocations: 0 / 1.263 GB, free: 13.7 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.392e-05/1.07, allocations: 1.094 kB / 1.263 GB, free: 13.7 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004769/1.075, allocations: 2.133 MB / 1.265 GB, free: 12.11 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.075, allocations: 9.312 kB / 1.265 GB, free: 12.11 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003904/1.079, allocations: 0.6665 MB / 1.265 GB, free: 11.79 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/1.082, allocations: 1.083 MB / 1.267 GB, free: 10.97 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/1.082, allocations: 88.11 kB / 1.267 GB, free: 10.93 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/1.082, allocations: 110 kB / 1.267 GB, free: 10.89 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003402/1.085, allocations: 1.496 MB / 1.268 GB, free: 9.82 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/1.085, allocations: 6.094 kB / 1.268 GB, free: 9.816 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/1.085, allocations: 48.53 kB / 1.268 GB, free: 9.781 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/1.085, allocations: 28.75 kB / 1.268 GB, free: 9.781 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003651/1.089, allocations: 1.236 MB / 1.269 GB, free: 9.199 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009032/1.098, allocations: 6.418 MB / 1.276 GB, free: 3.691 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003402/1.102, allocations: 1.053 MB / 1.277 GB, free: 3.199 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/1.103, allocations: 0.5386 MB / 1.277 GB, free: 2.93 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/1.104, allocations: 281.9 kB / 1.278 GB, free: 2.816 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0019/1.106, allocations: 0.6794 MB / 1.278 GB, free: 2.426 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 2.755e-06/1.106, allocations: 1.062 kB / 1.278 GB, free: 2.426 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.005723/1.112, allocations: 1.797 MB / 1.28 GB, free: 1.566 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/1.112, allocations: 73.42 kB / 1.28 GB, free: 1.492 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/1.114, allocations: 1.407 MB / 1.281 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.443e-05/1.114, allocations: 43.48 kB / 1.281 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007212/1.115, allocations: 0.8125 MB / 1.282 GB, free: 15.98 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/1.115, allocations: 313.1 kB / 1.283 GB, free: 15.71 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/1.115, allocations: 228.2 kB / 1.283 GB, free: 15.58 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.115, allocations: 351 kB / 1.283 GB, free: 15.25 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/1.117, allocations: 0.5233 MB / 1.284 GB, free: 15 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/1.119, allocations: 1.139 MB / 1.285 GB, free: 13.98 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003722/1.123, allocations: 1.426 MB / 1.286 GB, free: 13.01 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/1.123, allocations: 2.719 kB / 1.286 GB, free: 13.01 MB / 1.139 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004841/1.128, allocations: 1.613 MB / 1.288 GB, free: 12.21 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/1.128, allocations: 11.22 kB / 1.288 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.128, allocations: 10.97 kB / 1.288 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/1.128, allocations: 16.84 kB / 1.288 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.129, allocations: 347.6 kB / 1.288 GB, free: 12.11 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-05/1.129, allocations: 25.48 kB / 1.288 GB, free: 12.1 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/1.131, allocations: 207 kB / 1.288 GB, free: 11.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/1.131, allocations: 67.31 kB / 1.288 GB, free: 11.96 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0008114/1.132, allocations: 353.4 kB / 1.289 GB, free: 11.71 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/1.133, allocations: 161.4 kB / 1.289 GB, free: 11.62 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00557/1.138, allocations: 2.174 MB / 1.291 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.733e-05/1.138, allocations: 19.98 kB / 1.291 GB, free: 10.26 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/1.138, allocations: 4 kB / 1.291 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/1.138, allocations: 11.97 kB / 1.291 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007658/1.146, allocations: 3.117 MB / 1.294 GB, free: 7.062 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.467e-06/1.146, allocations: 0 / 1.294 GB, free: 7.062 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/1.147, allocations: 235.9 kB / 1.294 GB, free: 6.832 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/1.147, allocations: 7.938 kB / 1.294 GB, free: 6.824 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-05/1.147, allocations: 39.95 kB / 1.294 GB, free: 6.785 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/1.147, allocations: 8 kB / 1.294 GB, free: 6.777 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.147, allocations: 7.938 kB / 1.294 GB, free: 6.77 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007137/1.155, allocations: 2.806 MB / 1.297 GB, free: 3.926 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.156, allocations: 306.4 kB / 1.297 GB, free: 3.625 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/1.156, allocations: 35.92 kB / 1.297 GB, free: 3.59 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/1.157, allocations: 115.9 kB / 1.298 GB, free: 3.477 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/1.158, allocations: 80.8 kB / 1.298 GB, free: 3.395 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.158, allocations: 51.95 kB / 1.298 GB, free: 3.344 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001747/1.159, allocations: 0.9365 MB / 1.299 GB, free: 2.41 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.159, allocations: 0 / 1.299 GB, free: 2.41 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002126/1.162, allocations: 0.5729 MB / 1.299 GB, free: 1.836 MB / 1.139 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.002734/1.164, allocations: 0.8551 MB / 1.3 GB, free: 1.164 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004581/1.169, allocations: 1.45 MB / 1.301 GB, free: 15.72 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/1.169, allocations: 4.188 kB / 1.301 GB, free: 15.71 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.171, allocations: 0.783 MB / 1.302 GB, free: 14.93 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/1.174, allocations: 0.6034 MB / 1.303 GB, free: 14.34 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006462/1.181, allocations: 3.224 MB / 1.306 GB, free: 11.07 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008816/1.182, allocations: 0.7365 MB / 1.307 GB, free: 10.3 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001336/1.183, allocations: 351.4 kB / 1.307 GB, free: 9.949 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004738/1.183, allocations: 160.3 kB / 1.307 GB, free: 9.793 MB / 1.154 GB Notification: Performance of SimCode: time 6.41e-07/1.183, allocations: 0 / 1.307 GB, free: 9.793 MB / 1.154 GB Notification: Performance of Templates: time 0.05314/1.237, allocations: 30.51 MB / 1.337 GB, free: 11.91 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.243238967028446]