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.001997/0.001997, allocations: 109.2 kB / 16.45 MB, free: 6.508 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.001648/0.001648, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.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 3.287/3.287, allocations: 0.4899 GB / 0.7915 GB, free: 33.2 MB / 0.6231 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.002091/0.002091, allocations: 72.28 kB / 1.149 GB, free: 26.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4382, allocations: 176.1 MB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06341/0.5016, allocations: 55.26 MB / 1.375 GB, free: 11.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.5198, allocations: 10.45 MB / 1.385 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003203/0.523, allocations: 95.12 kB / 1.386 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.5258, allocations: 0.9242 MB / 1.386 GB, free: 15.81 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007005/0.5329, allocations: 2.052 MB / 1.388 GB, free: 13.75 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.008305/0.5412, allocations: 2.017 MB / 1.39 GB, free: 11.73 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009943/0.5511, allocations: 3.792 MB / 1.394 GB, free: 7.926 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00335/0.5545, allocations: 1.005 MB / 1.395 GB, free: 6.891 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007422/0.5619, allocations: 1.965 MB / 1.397 GB, free: 4.918 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003303/0.5652, allocations: 1.26 MB / 1.398 GB, free: 3.652 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006617/0.5658, allocations: 104 kB / 1.398 GB, free: 3.551 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004861/0.5707, allocations: 1.345 MB / 1.4 GB, free: 2.203 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009579/0.5717, allocations: 390.3 kB / 1.4 GB, free: 1.82 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002508/0.5742, allocations: 0.8624 MB / 1.401 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007722/0.5819, allocations: 2.475 MB / 1.403 GB, free: 14.47 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.5819, allocations: 4 kB / 1.403 GB, free: 14.46 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5819, allocations: 0 / 1.403 GB, free: 14.46 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001363/0.582, allocations: 3.938 kB / 1.403 GB, free: 14.46 MB / 1.107 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.007741/0.5898, allocations: 2.201 MB / 1.405 GB, free: 12.19 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 7.592e-05/0.5899, allocations: 15.98 kB / 1.405 GB, free: 12.18 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004643/0.5945, allocations: 0.6621 MB / 1.406 GB, free: 11.51 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004317/0.5988, allocations: 1.208 MB / 1.407 GB, free: 10.25 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.599, allocations: 82.08 kB / 1.407 GB, free: 10.17 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004137/0.5994, allocations: 108 kB / 1.407 GB, free: 10.06 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004552/0.6039, allocations: 1.5 MB / 1.409 GB, free: 8.406 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/0.604, allocations: 11.92 kB / 1.409 GB, free: 8.395 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.6041, allocations: 44 kB / 1.409 GB, free: 8.352 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.6042, allocations: 28 kB / 1.409 GB, free: 8.324 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004267/0.6084, allocations: 1.225 MB / 1.41 GB, free: 7.098 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.6224, allocations: 8.379 MB / 1.418 GB, free: 14.11 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003917/0.6263, allocations: 1.061 MB / 1.419 GB, free: 13.04 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/0.6282, allocations: 0.5258 MB / 1.42 GB, free: 12.51 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003306/0.6315, allocations: 2.894 MB / 1.423 GB, free: 8.969 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002213/0.6337, allocations: 0.6761 MB / 1.423 GB, free: 8.285 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 4.087e-06/0.6337, allocations: 0 / 1.423 GB, free: 8.285 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.006421/0.6401, allocations: 1.803 MB / 1.425 GB, free: 6.473 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.6402, allocations: 60.41 kB / 1.425 GB, free: 6.402 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.6433, allocations: 1.514 MB / 1.427 GB, free: 4.883 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.6434, allocations: 53.7 kB / 1.427 GB, free: 4.824 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.6444, allocations: 0.8039 MB / 1.428 GB, free: 4.012 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000441/0.6449, allocations: 313.3 kB / 1.428 GB, free: 3.703 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/0.6453, allocations: 226.8 kB / 1.428 GB, free: 3.477 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.6455, allocations: 349.9 kB / 1.428 GB, free: 3.129 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.6474, allocations: 0.5139 MB / 1.429 GB, free: 2.613 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.6497, allocations: 0.9031 MB / 1.43 GB, free: 1.551 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004353/0.654, allocations: 1.426 MB / 1.431 GB, free: 15.97 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/0.654, allocations: 0 / 1.431 GB, free: 15.97 MB / 1.139 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.005605/0.6596, allocations: 1.609 MB / 1.433 GB, free: 14.35 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.6597, allocations: 12.22 kB / 1.433 GB, free: 14.34 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.571e-05/0.6598, allocations: 12 kB / 1.433 GB, free: 14.33 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.286e-05/0.6598, allocations: 16 kB / 1.433 GB, free: 14.31 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.6613, allocations: 351.4 kB / 1.433 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.342e-05/0.6614, allocations: 20.03 kB / 1.433 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.6634, allocations: 238.8 kB / 1.433 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/0.6636, allocations: 67.95 kB / 1.433 GB, free: 13.65 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.001019/0.6646, allocations: 343.6 kB / 1.434 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007459/0.6654, allocations: 178.9 kB / 1.434 GB, free: 13.12 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006297/0.6717, allocations: 2.093 MB / 1.436 GB, free: 11.02 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-05/0.6717, allocations: 23.98 kB / 1.436 GB, free: 11 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.6717, allocations: 0 / 1.436 GB, free: 11 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/0.6718, allocations: 15.89 kB / 1.436 GB, free: 10.98 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008496/0.6803, allocations: 3.287 MB / 1.439 GB, free: 7.621 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.6803, allocations: 7.938 kB / 1.439 GB, free: 7.613 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.6815, allocations: 227.9 kB / 1.439 GB, free: 7.391 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.398e-05/0.6815, allocations: 4 kB / 1.439 GB, free: 7.387 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.6816, allocations: 39.95 kB / 1.44 GB, free: 7.348 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.297e-05/0.6816, allocations: 8 kB / 1.44 GB, free: 7.34 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6816, allocations: 0 / 1.44 GB, free: 7.34 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007332/0.689, allocations: 2.705 MB / 1.442 GB, free: 4.598 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.69, allocations: 399.3 kB / 1.443 GB, free: 4.188 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004536/0.6905, allocations: 28 kB / 1.443 GB, free: 4.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.692, allocations: 115.9 kB / 1.443 GB, free: 4.047 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.6922, allocations: 72.89 kB / 1.443 GB, free: 3.977 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.6924, allocations: 51.95 kB / 1.443 GB, free: 3.926 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002152/0.6945, allocations: 1.027 MB / 1.444 GB, free: 2.906 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6945, allocations: 0 / 1.444 GB, free: 2.906 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002325/0.6968, allocations: 0.5457 MB / 1.444 GB, free: 2.359 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 (110): * Single equations (assignments): 79 * 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.003025/0.6999, allocations: 0.8379 MB / 1.445 GB, free: 1.676 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005033/0.7049, allocations: 1.42 MB / 1.447 GB, free: 264 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/0.7049, allocations: 0 / 1.447 GB, free: 264 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002612/0.7075, allocations: 0.7402 MB / 1.447 GB, free: 15.52 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005473/0.713, allocations: 0.7259 MB / 1.448 GB, free: 14.8 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009388/0.7224, allocations: 3.188 MB / 1.451 GB, free: 11.56 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.724, allocations: 1.313 MB / 1.452 GB, free: 10.22 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001818/0.7258, allocations: 376.9 kB / 1.453 GB, free: 9.844 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000659/0.7265, allocations: 171.3 kB / 1.453 GB, free: 9.676 MB / 1.154 GB Notification: Performance of SimCode: time 2.214e-06/0.7265, allocations: 0 / 1.453 GB, free: 9.676 MB / 1.154 GB Notification: Performance of Templates: time 0.07321/0.7997, allocations: 32.77 MB / 1.485 GB, free: 9.402 MB / 1.186 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 -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/jenkins/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.747588898986578]