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.001551/0.001551, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00151/0.00151, allocations: 195.9 kB / 22.17 MB, free: 5.656 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.46/1.46, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.885/2.885, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 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.001999/0.001999, allocations: 71.88 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7407/0.7427, allocations: 168.7 MB / 1.274 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03571/0.7784, allocations: 29.83 MB / 1.303 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.7898, allocations: 6.921 MB / 1.31 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.7909, allocations: 47.69 kB / 1.31 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.7925, allocations: 0.7109 MB / 1.311 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00374/0.7963, allocations: 1.512 MB / 1.312 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.7992, allocations: 1.171 MB / 1.313 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004164/0.8034, allocations: 2.493 MB / 1.316 GB, free: 9.609 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.8047, allocations: 0.6447 MB / 1.316 GB, free: 8.953 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002981/0.8076, allocations: 1.054 MB / 1.317 GB, free: 7.895 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.8095, allocations: 0.8636 MB / 1.318 GB, free: 7.027 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.8096, allocations: 68 kB / 1.318 GB, free: 6.961 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.8119, allocations: 0.8577 MB / 1.319 GB, free: 6.102 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.8123, allocations: 274.8 kB / 1.319 GB, free: 5.832 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006494/0.8129, allocations: 0.5553 MB / 1.32 GB, free: 5.273 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00312/0.816, allocations: 1.626 MB / 1.322 GB, free: 3.641 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.816, allocations: 0 / 1.322 GB, free: 3.641 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.665e-06/0.816, allocations: 4 kB / 1.322 GB, free: 3.637 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.795e-05/0.8161, allocations: 0 / 1.322 GB, free: 3.637 MB / 1.014 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.003395/0.8195, allocations: 1.604 MB / 1.323 GB, free: 1.973 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.8195, allocations: 12.03 kB / 1.323 GB, free: 1.961 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003651/0.8232, allocations: 0.5931 MB / 1.324 GB, free: 1.367 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.825, allocations: 0.8769 MB / 1.325 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/0.825, allocations: 58.38 kB / 1.325 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.8252, allocations: 71.94 kB / 1.325 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.8278, allocations: 1.111 MB / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.8278, allocations: 7.938 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/0.8279, allocations: 28 kB / 1.326 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.8279, allocations: 19.94 kB / 1.326 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/0.8312, allocations: 1 MB / 1.327 GB, free: 14.06 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.006453/0.8376, allocations: 4.959 MB / 1.332 GB, free: 8.812 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/0.8408, allocations: 0.8678 MB / 1.333 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.8423, allocations: 462.1 kB / 1.333 GB, free: 7.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/0.8439, allocations: 1.588 MB / 1.335 GB, free: 5.543 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001806/0.8457, allocations: 0.5845 MB / 1.335 GB, free: 4.945 MB / 1.029 GB Notification: Performance of pre-optimization done (n=61): time 5.49e-06/0.8457, allocations: 4 kB / 1.335 GB, free: 4.941 MB / 1.029 GB Notification: Performance of matching and sorting (n=61): time 0.005255/0.851, allocations: 1.486 MB / 1.337 GB, free: 3.453 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.851, allocations: 55.97 kB / 1.337 GB, free: 3.387 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.8525, allocations: 1.124 MB / 1.338 GB, free: 2.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.8526, allocations: 41.7 kB / 1.338 GB, free: 2.203 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000508/0.8532, allocations: 0.552 MB / 1.338 GB, free: 1.648 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.8534, allocations: 214.2 kB / 1.338 GB, free: 1.438 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/0.8537, allocations: 166.5 kB / 1.339 GB, free: 1.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.8538, allocations: 337.9 kB / 1.339 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.8555, allocations: 449.6 kB / 1.339 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.8573, allocations: 0.7127 MB / 1.34 GB, free: 15.66 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/0.8607, allocations: 1.12 MB / 1.341 GB, free: 14.44 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.8607, allocations: 4 kB / 1.341 GB, free: 14.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003984/0.8646, allocations: 1.274 MB / 1.342 GB, free: 13.15 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.8647, allocations: 11.98 kB / 1.342 GB, free: 13.14 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.8647, allocations: 8 kB / 1.342 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/0.8647, allocations: 12.81 kB / 1.342 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.866, allocations: 271.6 kB / 1.343 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.596e-05/0.8661, allocations: 19.92 kB / 1.343 GB, free: 12.83 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.8674, allocations: 183.2 kB / 1.343 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.8675, allocations: 47.97 kB / 1.343 GB, free: 12.61 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.0005074/0.868, allocations: 291.8 kB / 1.343 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.8682, allocations: 127.1 kB / 1.343 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/0.8724, allocations: 1.395 MB / 1.345 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.8724, allocations: 4 kB / 1.345 GB, free: 10.78 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8725, allocations: 4 kB / 1.345 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.8725, allocations: 3.984 kB / 1.345 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0056/0.8781, allocations: 2.397 MB / 1.347 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.8781, allocations: 0 / 1.347 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.8792, allocations: 187.9 kB / 1.347 GB, free: 8.117 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/0.8792, allocations: 11.98 kB / 1.347 GB, free: 8.105 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.456e-05/0.8793, allocations: 23.97 kB / 1.347 GB, free: 8.082 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/0.8793, allocations: 7.938 kB / 1.347 GB, free: 8.074 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8793, allocations: 4 kB / 1.347 GB, free: 8.07 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005718/0.885, allocations: 2.004 MB / 1.349 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/0.8857, allocations: 295.9 kB / 1.35 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.8859, allocations: 19.98 kB / 1.35 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009847/0.8868, allocations: 99.88 kB / 1.35 GB, free: 5.605 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.887, allocations: 56.44 kB / 1.35 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.47e-05/0.8871, allocations: 35.97 kB / 1.35 GB, free: 5.516 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001044/0.8881, allocations: 0.7716 MB / 1.35 GB, free: 4.738 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.8881, allocations: 0 / 1.35 GB, free: 4.738 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00112/0.8892, allocations: 339.4 kB / 1.351 GB, free: 4.406 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.002182/0.8914, allocations: 0.6662 MB / 1.351 GB, free: 3.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003647/0.895, allocations: 1.08 MB / 1.353 GB, free: 2.828 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.8951, allocations: 4.188 kB / 1.353 GB, free: 2.824 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/0.8968, allocations: 0.5538 MB / 1.353 GB, free: 2.273 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.8991, allocations: 446.7 kB / 1.353 GB, free: 1.848 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005656/0.9047, allocations: 2.398 MB / 1.356 GB, free: 15.4 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008739/0.9056, allocations: 1.111 MB / 1.357 GB, free: 14.26 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009406/0.9066, allocations: 248.7 kB / 1.357 GB, free: 14.01 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.9069, allocations: 111.4 kB / 1.357 GB, free: 13.9 MB / 1.061 GB Notification: Performance of SimCode: time 1.062e-06/0.9069, allocations: 0 / 1.357 GB, free: 13.9 MB / 1.061 GB Notification: Performance of Templates: time 0.04011/0.947, allocations: 20.48 MB / 1.377 GB, free: 9.719 MB / 1.076 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.504943084903061]