Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.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.001561/0.001561, allocations: 115.1 kB / 17.08 MB, free: 5.984 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.001577/0.001577, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.453/1.453, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.947/2.947, allocations: 489.3 MB / 0.7687 GB, free: 3.738 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.89 kB / 1.103 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.974/0.9759, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03292/1.009, allocations: 30.09 MB / 1.292 GB, free: 2.473 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02907/1.038, allocations: 11.73 MB / 1.303 GB, free: 10.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/1.041, allocations: 47.84 kB / 1.303 GB, free: 10.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.008002/1.049, allocations: 1.51 MB / 1.305 GB, free: 9.578 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008222/1.058, allocations: 1.625 MB / 1.306 GB, free: 8.645 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006834/1.064, allocations: 1.468 MB / 1.308 GB, free: 7.906 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0138/1.078, allocations: 6.495 MB / 1.314 GB, free: 5.453 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/1.081, allocations: 1.4 MB / 1.316 GB, free: 4.812 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004491/1.086, allocations: 1.605 MB / 1.317 GB, free: 4.117 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002471/1.088, allocations: 1.101 MB / 1.318 GB, free: 3.594 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004156/1.089, allocations: 127.5 kB / 1.318 GB, free: 3.594 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003864/1.092, allocations: 1.306 MB / 1.32 GB, free: 3.211 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001014/1.093, allocations: 0.5311 MB / 1.32 GB, free: 2.961 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001924/1.095, allocations: 0.9739 MB / 1.321 GB, free: 2.355 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007367/1.103, allocations: 3.051 MB / 1.324 GB, free: 1.219 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.103, allocations: 0 / 1.324 GB, free: 1.219 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.953e-06/1.103, allocations: 0 / 1.324 GB, free: 1.219 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.246e-05/1.103, allocations: 1.062 kB / 1.324 GB, free: 1.219 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006008/1.109, allocations: 2.435 MB / 1.327 GB, free: 15.57 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.109, allocations: 10.52 kB / 1.327 GB, free: 15.57 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/1.111, allocations: 388.3 kB / 1.327 GB, free: 15.44 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005282/1.116, allocations: 2.412 MB / 1.329 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-05/1.117, allocations: 62.91 kB / 1.329 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/1.117, allocations: 93.03 kB / 1.329 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/1.119, allocations: 1.007 MB / 1.33 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/1.119, allocations: 5.094 kB / 1.33 GB, free: 13.69 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.34e-05/1.119, allocations: 37.09 kB / 1.33 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/1.119, allocations: 18.94 kB / 1.33 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/1.121, allocations: 0.7468 MB / 1.331 GB, free: 13.42 MB / 1.045 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.00827/1.129, allocations: 5.162 MB / 1.336 GB, free: 9.652 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/1.131, allocations: 0.5633 MB / 1.337 GB, free: 9.445 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007153/1.131, allocations: 320.5 kB / 1.337 GB, free: 9.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003385/1.135, allocations: 1.641 MB / 1.339 GB, free: 8.082 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008278/1.136, allocations: 328.8 kB / 1.339 GB, free: 7.953 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006821/1.136, allocations: 69.5 kB / 1.339 GB, free: 7.902 MB / 1.045 GB Notification: Performance of pre-optimization done (n=42): time 3.146e-06/1.136, allocations: 4 kB / 1.339 GB, free: 7.898 MB / 1.045 GB Notification: Performance of matching and sorting (n=42): time 0.003792/1.14, allocations: 1.233 MB / 1.34 GB, free: 7.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/1.14, allocations: 60.52 kB / 1.34 GB, free: 7.352 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003357/1.144, allocations: 1.87 MB / 1.342 GB, free: 6.617 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001603/1.144, allocations: 39.36 kB / 1.342 GB, free: 6.578 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00094/1.145, allocations: 0.7921 MB / 1.343 GB, free: 5.953 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/1.145, allocations: 163.6 kB / 1.343 GB, free: 5.828 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004491/1.146, allocations: 267.4 kB / 1.343 GB, free: 5.711 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002069/1.146, allocations: 348.7 kB / 1.344 GB, free: 5.391 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009601/1.147, allocations: 463.6 kB / 1.344 GB, free: 5.168 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/1.148, allocations: 0.8334 MB / 1.345 GB, free: 4.461 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/1.15, allocations: 1.169 MB / 1.346 GB, free: 3.641 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/1.15, allocations: 2.969 kB / 1.346 GB, free: 3.641 MB / 1.045 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003598/1.154, allocations: 1.595 MB / 1.348 GB, free: 2.812 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/1.154, allocations: 35.23 kB / 1.348 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.154, allocations: 8 kB / 1.348 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006852/1.155, allocations: 195.1 kB / 1.348 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/1.155, allocations: 203 kB / 1.348 GB, free: 2.641 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008396/1.156, allocations: 0.7664 MB / 1.349 GB, free: 1.992 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/1.158, allocations: 75.92 kB / 1.349 GB, free: 1.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/1.158, allocations: 48.3 kB / 1.349 GB, free: 1.941 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001864/1.16, allocations: 0.8687 MB / 1.35 GB, free: 1.441 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001203/1.161, allocations: 0.8147 MB / 1.351 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00184/1.163, allocations: 1.135 MB / 1.352 GB, free: 15.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.718e-06/1.163, allocations: 6.484 kB / 1.352 GB, free: 15.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00329/1.166, allocations: 1.593 MB / 1.353 GB, free: 15.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/1.166, allocations: 34.08 kB / 1.353 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/1.166, allocations: 9.344 kB / 1.353 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/1.166, allocations: 104.9 kB / 1.353 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/1.167, allocations: 193.5 kB / 1.354 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002648/1.17, allocations: 2.36 MB / 1.356 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/1.171, allocations: 73.89 kB / 1.356 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/1.171, allocations: 47.45 kB / 1.356 GB, free: 12.8 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003713/1.172, allocations: 234 kB / 1.356 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/1.172, allocations: 177.4 kB / 1.356 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/1.175, allocations: 0.905 MB / 1.357 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.175, allocations: 8.875 kB / 1.357 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/1.175, allocations: 0 / 1.357 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001605/1.176, allocations: 0.8884 MB / 1.358 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004393/1.181, allocations: 2.004 MB / 1.36 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.181, allocations: 1.344 kB / 1.36 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/1.181, allocations: 85.53 kB / 1.36 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003034/1.181, allocations: 129.4 kB / 1.36 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/1.182, allocations: 12.77 kB / 1.36 GB, free: 9.875 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007316/1.182, allocations: 0.7601 MB / 1.361 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.182, allocations: 1.125 kB / 1.361 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/1.185, allocations: 1.241 MB / 1.362 GB, free: 8.488 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009154/1.186, allocations: 322.7 kB / 1.363 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/1.186, allocations: 14.75 kB / 1.363 GB, free: 8.211 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006724/1.187, allocations: 40.05 kB / 1.363 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/1.187, allocations: 36.61 kB / 1.363 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/1.187, allocations: 24.86 kB / 1.363 GB, free: 8.164 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002235/1.189, allocations: 1.268 MB / 1.364 GB, free: 7.453 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.189, allocations: 4 kB / 1.364 GB, free: 7.449 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003259/1.193, allocations: 0.8184 MB / 1.365 GB, free: 7.293 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/1.194, allocations: 0.4952 MB / 1.365 GB, free: 7.027 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004142/1.198, allocations: 1.876 MB / 1.367 GB, free: 6.008 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/1.198, allocations: 1.594 kB / 1.367 GB, free: 6.008 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008952/1.199, allocations: 341 kB / 1.367 GB, free: 5.855 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/1.203, allocations: 0.7987 MB / 1.368 GB, free: 5.445 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007375/1.211, allocations: 3.102 MB / 1.371 GB, free: 3.664 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/1.212, allocations: 1.432 MB / 1.373 GB, free: 2.598 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005945/1.213, allocations: 141.4 kB / 1.373 GB, free: 2.562 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/1.213, allocations: 0 / 1.373 GB, free: 2.562 MB / 1.061 GB Notification: Performance of Templates: time 0.06106/1.274, allocations: 36.92 MB / 1.409 GB, free: 1.031 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.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: 18.169877640902996]