Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001774/0.001774, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001918/0.001918, allocations: 158.6 kB / 23.01 MB, free: 4.949 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.513/1.513, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.81/2.81, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002326/0.002326, allocations: 71.88 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.118, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0451/1.163, allocations: 50.43 MB / 1.203 GB, free: 15.41 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01764/1.181, allocations: 9.757 MB / 1.213 GB, free: 8.762 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002582/1.183, allocations: 91.03 kB / 1.213 GB, free: 8.711 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00272/1.186, allocations: 0.9102 MB / 1.214 GB, free: 8.25 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007659/1.194, allocations: 2.068 MB / 1.216 GB, free: 7.082 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006413/1.2, allocations: 2.018 MB / 1.218 GB, free: 6.066 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007281/1.207, allocations: 3.812 MB / 1.221 GB, free: 4.309 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/1.21, allocations: 0.9754 MB / 1.222 GB, free: 3.855 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00527/1.215, allocations: 1.981 MB / 1.224 GB, free: 2.965 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003388/1.218, allocations: 1.206 MB / 1.225 GB, free: 2.504 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004155/1.219, allocations: 107.1 kB / 1.226 GB, free: 2.504 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/1.223, allocations: 1.042 MB / 1.227 GB, free: 2.141 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005675/1.223, allocations: 407 kB / 1.227 GB, free: 1.906 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001956/1.225, allocations: 0.6995 MB / 1.228 GB, free: 1.551 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005492/1.231, allocations: 2.439 MB / 1.23 GB, free: 0.6055 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.231, allocations: 1.375 kB / 1.23 GB, free: 0.6055 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.904e-06/1.231, allocations: 0 / 1.23 GB, free: 0.6055 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.66e-05/1.231, allocations: 0 / 1.23 GB, free: 0.6055 MB / 1.092 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.00432/1.235, allocations: 2.127 MB / 1.232 GB, free: 15.23 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/1.235, allocations: 10.31 kB / 1.232 GB, free: 15.23 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003948/1.239, allocations: 0.6642 MB / 1.233 GB, free: 15.08 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/1.242, allocations: 1.077 MB / 1.234 GB, free: 14.46 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.92e-05/1.242, allocations: 88.66 kB / 1.234 GB, free: 14.41 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/1.242, allocations: 114.2 kB / 1.234 GB, free: 14.38 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00335/1.245, allocations: 1.499 MB / 1.235 GB, free: 13.6 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/1.245, allocations: 6.938 kB / 1.235 GB, free: 13.59 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/1.245, allocations: 45.3 kB / 1.236 GB, free: 13.56 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/1.245, allocations: 28.16 kB / 1.236 GB, free: 13.56 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003788/1.249, allocations: 1.237 MB / 1.237 GB, free: 13.21 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009369/1.259, allocations: 6.42 MB / 1.243 GB, free: 8.363 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003574/1.262, allocations: 1.06 MB / 1.244 GB, free: 8.062 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/1.264, allocations: 0.5336 MB / 1.245 GB, free: 7.906 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/1.265, allocations: 285.5 kB / 1.245 GB, free: 7.852 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002297/1.267, allocations: 0.6771 MB / 1.246 GB, free: 7.641 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 4.278e-06/1.267, allocations: 1.781 kB / 1.246 GB, free: 7.641 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.005982/1.273, allocations: 1.81 MB / 1.247 GB, free: 7.09 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/1.273, allocations: 64.75 kB / 1.247 GB, free: 7.023 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/1.276, allocations: 1.4 MB / 1.249 GB, free: 6.504 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.777e-05/1.276, allocations: 48.55 kB / 1.249 GB, free: 6.457 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000823/1.277, allocations: 0.8168 MB / 1.25 GB, free: 5.805 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/1.277, allocations: 306.8 kB / 1.25 GB, free: 5.566 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/1.277, allocations: 234.4 kB / 1.25 GB, free: 5.461 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.277, allocations: 349 kB / 1.25 GB, free: 5.137 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/1.279, allocations: 0.5235 MB / 1.251 GB, free: 5 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/1.281, allocations: 1.136 MB / 1.252 GB, free: 4.117 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004006/1.285, allocations: 1.425 MB / 1.253 GB, free: 3.312 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/1.285, allocations: 3.562 kB / 1.253 GB, free: 3.312 MB / 1.107 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.005136/1.291, allocations: 1.614 MB / 1.255 GB, free: 2.754 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.291, allocations: 10 kB / 1.255 GB, free: 2.754 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/1.291, allocations: 12.67 kB / 1.255 GB, free: 2.754 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.604e-05/1.291, allocations: 17.62 kB / 1.255 GB, free: 2.754 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/1.292, allocations: 348.7 kB / 1.255 GB, free: 2.719 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.335e-05/1.292, allocations: 27.33 kB / 1.255 GB, free: 2.711 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/1.294, allocations: 208.3 kB / 1.256 GB, free: 2.629 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/1.294, allocations: 64.83 kB / 1.256 GB, free: 2.621 MB / 1.107 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.0008326/1.295, allocations: 347.7 kB / 1.256 GB, free: 2.391 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004961/1.296, allocations: 166 kB / 1.256 GB, free: 2.301 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006008/1.302, allocations: 2.174 MB / 1.258 GB, free: 1.59 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.928e-05/1.302, allocations: 21.2 kB / 1.258 GB, free: 1.586 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.302, allocations: 1.609 kB / 1.258 GB, free: 1.586 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/1.302, allocations: 5.578 kB / 1.258 GB, free: 1.586 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007997/1.31, allocations: 3.119 MB / 1.261 GB, free: 328 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.31, allocations: 3.156 kB / 1.261 GB, free: 328 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/1.311, allocations: 236.5 kB / 1.262 GB, free: 308 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/1.311, allocations: 5.906 kB / 1.262 GB, free: 308 kB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/1.311, allocations: 44.5 kB / 1.262 GB, free: 288 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/1.311, allocations: 9.219 kB / 1.262 GB, free: 284 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.311, allocations: 2.5 kB / 1.262 GB, free: 284 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007384/1.318, allocations: 2.812 MB / 1.264 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.32, allocations: 312.2 kB / 1.265 GB, free: 14.86 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004144/1.32, allocations: 32.17 kB / 1.265 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/1.321, allocations: 117.5 kB / 1.265 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/1.322, allocations: 85 kB / 1.265 GB, free: 14.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.322, allocations: 47.2 kB / 1.265 GB, free: 14.71 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001925/1.324, allocations: 0.9355 MB / 1.266 GB, free: 14.24 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.11e-07/1.324, allocations: 0 / 1.266 GB, free: 14.24 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002677/1.326, allocations: 0.5732 MB / 1.266 GB, free: 14.07 MB / 1.123 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.003114/1.33, allocations: 0.8475 MB / 1.267 GB, free: 13.68 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00472/1.334, allocations: 1.451 MB / 1.269 GB, free: 13.04 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.334, allocations: 0 / 1.269 GB, free: 13.04 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002325/1.337, allocations: 0.788 MB / 1.269 GB, free: 12.69 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/1.34, allocations: 0.6005 MB / 1.27 GB, free: 12.36 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007734/1.348, allocations: 3.225 MB / 1.273 GB, free: 10.48 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.349, allocations: 0.7353 MB / 1.274 GB, free: 10.09 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001821/1.351, allocations: 346.1 kB / 1.274 GB, free: 9.918 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006218/1.352, allocations: 163.4 kB / 1.274 GB, free: 9.863 MB / 1.123 GB Notification: Performance of SimCode: time 1.112e-06/1.352, allocations: 5.125 kB / 1.274 GB, free: 9.859 MB / 1.123 GB Notification: Performance of Templates: time 0.06058/1.412, allocations: 30.51 MB / 1.304 GB, free: 14.89 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.675620130030438]