Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7629 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,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_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 64.09 kB / 1.107 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218/1.22, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03473/1.255, allocations: 29.83 MB / 1.301 GB, free: 2.707 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01476/1.27, allocations: 6.918 MB / 1.308 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/1.272, allocations: 46.75 kB / 1.308 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003101/1.276, allocations: 0.7129 MB / 1.309 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006207/1.282, allocations: 1.51 MB / 1.31 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004422/1.286, allocations: 1.176 MB / 1.311 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005231/1.291, allocations: 2.492 MB / 1.314 GB, free: 10.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/1.293, allocations: 0.6503 MB / 1.314 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/1.296, allocations: 1.047 MB / 1.315 GB, free: 10.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/1.299, allocations: 0.8654 MB / 1.316 GB, free: 9.855 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000336/1.299, allocations: 65.97 kB / 1.316 GB, free: 9.855 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003182/1.302, allocations: 0.8546 MB / 1.317 GB, free: 9.531 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005945/1.303, allocations: 286.8 kB / 1.317 GB, free: 9.379 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001347/1.304, allocations: 0.5515 MB / 1.318 GB, free: 9.035 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004787/1.309, allocations: 1.623 MB / 1.319 GB, free: 8.398 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.309, allocations: 0 / 1.319 GB, free: 8.398 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.033e-06/1.309, allocations: 1.219 kB / 1.319 GB, free: 8.398 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.06e-05/1.309, allocations: 0 / 1.319 GB, free: 8.398 MB / 1.029 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.005199/1.314, allocations: 1.612 MB / 1.321 GB, free: 7.289 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.314, allocations: 9.062 kB / 1.321 GB, free: 7.289 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003951/1.318, allocations: 0.5901 MB / 1.322 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/1.32, allocations: 0.884 MB / 1.323 GB, free: 6.648 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.041e-05/1.32, allocations: 62.2 kB / 1.323 GB, free: 6.621 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/1.321, allocations: 77.86 kB / 1.323 GB, free: 6.594 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/1.323, allocations: 1.093 MB / 1.324 GB, free: 6.078 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/1.323, allocations: 9.281 kB / 1.324 GB, free: 6.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-05/1.324, allocations: 33.61 kB / 1.324 GB, free: 6.047 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/1.324, allocations: 22 kB / 1.324 GB, free: 6.043 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003306/1.327, allocations: 0.9973 MB / 1.325 GB, free: 5.777 MB / 1.029 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.008092/1.335, allocations: 4.958 MB / 1.33 GB, free: 1.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/1.338, allocations: 0.8678 MB / 1.33 GB, free: 1.676 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/1.34, allocations: 461.7 kB / 1.331 GB, free: 1.551 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001889/1.342, allocations: 1.593 MB / 1.332 GB, free: 15.74 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001859/1.343, allocations: 0.5795 MB / 1.333 GB, free: 15.55 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 2.935e-06/1.343, allocations: 0 / 1.333 GB, free: 15.55 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.005572/1.349, allocations: 1.486 MB / 1.334 GB, free: 15.12 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/1.349, allocations: 59.25 kB / 1.334 GB, free: 15.06 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/1.352, allocations: 1.122 MB / 1.336 GB, free: 14.64 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/1.352, allocations: 38.3 kB / 1.336 GB, free: 14.6 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000642/1.352, allocations: 0.5552 MB / 1.336 GB, free: 14.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/1.353, allocations: 214 kB / 1.336 GB, free: 13.99 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/1.353, allocations: 172.8 kB / 1.337 GB, free: 13.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.353, allocations: 335 kB / 1.337 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/1.355, allocations: 450.5 kB / 1.337 GB, free: 13.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/1.356, allocations: 0.7148 MB / 1.338 GB, free: 13.04 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003238/1.36, allocations: 1.118 MB / 1.339 GB, free: 12.45 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/1.36, allocations: 6.281 kB / 1.339 GB, free: 12.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004078/1.364, allocations: 1.277 MB / 1.34 GB, free: 12.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/1.364, allocations: 10.86 kB / 1.34 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/1.364, allocations: 7.031 kB / 1.34 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.042e-05/1.364, allocations: 16.77 kB / 1.34 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.365, allocations: 275.3 kB / 1.341 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/1.365, allocations: 21.31 kB / 1.341 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/1.367, allocations: 186.3 kB / 1.341 GB, free: 11.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/1.367, allocations: 42.97 kB / 1.341 GB, free: 11.9 MB / 1.045 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.0007184/1.367, allocations: 296.6 kB / 1.341 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/1.368, allocations: 127 kB / 1.341 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/1.372, allocations: 1.388 MB / 1.343 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/1.372, allocations: 8.688 kB / 1.343 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.372, allocations: 1.312 kB / 1.343 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.372, allocations: 4.031 kB / 1.343 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006994/1.379, allocations: 2.385 MB / 1.345 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.379, allocations: 5.375 kB / 1.345 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.38, allocations: 194.9 kB / 1.345 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.96e-05/1.38, allocations: 4.516 kB / 1.345 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/1.38, allocations: 29.83 kB / 1.345 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-05/1.38, allocations: 4.438 kB / 1.345 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.38, allocations: 1.094 kB / 1.345 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006144/1.387, allocations: 2.007 MB / 1.347 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008813/1.387, allocations: 291.7 kB / 1.347 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/1.388, allocations: 13.78 kB / 1.347 GB, free: 9.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009879/1.389, allocations: 105 kB / 1.348 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/1.389, allocations: 56.73 kB / 1.348 GB, free: 8.941 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/1.389, allocations: 37.78 kB / 1.348 GB, free: 8.926 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001352/1.39, allocations: 0.7637 MB / 1.348 GB, free: 8.527 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/1.39, allocations: 0 / 1.348 GB, free: 8.527 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001801/1.392, allocations: 344.3 kB / 1.349 GB, free: 8.445 MB / 1.045 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 (73): * Single equations (assignments): 58 * 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.002336/1.394, allocations: 0.6651 MB / 1.349 GB, free: 8.109 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003714/1.398, allocations: 1.09 MB / 1.35 GB, free: 7.617 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.398, allocations: 0 / 1.35 GB, free: 7.617 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001684/1.4, allocations: 0.5515 MB / 1.351 GB, free: 7.367 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/1.402, allocations: 452.3 kB / 1.351 GB, free: 7.129 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/1.408, allocations: 2.396 MB / 1.354 GB, free: 5.719 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00092/1.409, allocations: 1.113 MB / 1.355 GB, free: 4.836 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001245/1.41, allocations: 249 kB / 1.355 GB, free: 4.711 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/1.411, allocations: 104.9 kB / 1.355 GB, free: 4.684 MB / 1.045 GB Notification: Performance of SimCode: time 1.563e-06/1.411, allocations: 0 / 1.355 GB, free: 4.684 MB / 1.045 GB Notification: Performance of Templates: time 0.05356/1.464, allocations: 20.48 MB / 1.375 GB, free: 10.48 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.37951513659209]