Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example3.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.00164/0.00164, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001979/0.001979, allocations: 209.8 kB / 23 MB, free: 4.973 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.13/3.13, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example3") [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.002086/0.002086, allocations: 66.31 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3285, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03695/0.3654, allocations: 30.71 MB / 1.357 GB, free: 2.176 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01913/0.3846, allocations: 11.42 MB / 1.368 GB, free: 6.734 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.3861, allocations: 75.38 kB / 1.368 GB, free: 6.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004535/0.3906, allocations: 1.572 MB / 1.37 GB, free: 5.082 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00534/0.396, allocations: 1.825 MB / 1.372 GB, free: 3.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003978/0.3999, allocations: 1.611 MB / 1.373 GB, free: 1.645 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01097/0.4109, allocations: 7.751 MB / 1.381 GB, free: 9.879 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002946/0.4139, allocations: 1.657 MB / 1.382 GB, free: 8.184 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005663/0.4195, allocations: 2.473 MB / 1.385 GB, free: 5.707 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002662/0.4222, allocations: 1.486 MB / 1.386 GB, free: 4.215 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003734/0.4226, allocations: 140 kB / 1.386 GB, free: 4.078 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.4254, allocations: 1.252 MB / 1.388 GB, free: 2.824 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006984/0.4261, allocations: 0.6031 MB / 1.388 GB, free: 2.219 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.4275, allocations: 0.9483 MB / 1.389 GB, free: 1.266 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005234/0.4327, allocations: 3.514 MB / 1.393 GB, free: 13.74 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.4327, allocations: 0 / 1.393 GB, free: 13.74 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4327, allocations: 0 / 1.393 GB, free: 13.74 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.12e-05/0.4328, allocations: 0 / 1.393 GB, free: 13.74 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.005247/0.438, allocations: 2.815 MB / 1.395 GB, free: 10.86 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.4381, allocations: 12.03 kB / 1.395 GB, free: 10.85 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.4403, allocations: 446 kB / 1.396 GB, free: 10.41 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005523/0.4458, allocations: 2.659 MB / 1.398 GB, free: 7.672 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.093e-05/0.4459, allocations: 82 kB / 1.398 GB, free: 7.594 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.4461, allocations: 108 kB / 1.398 GB, free: 7.488 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.4487, allocations: 1.478 MB / 1.4 GB, free: 5.891 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.4487, allocations: 7.938 kB / 1.4 GB, free: 5.883 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.4489, allocations: 36 kB / 1.4 GB, free: 5.848 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.4489, allocations: 28 kB / 1.4 GB, free: 5.82 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.4512, allocations: 1.026 MB / 1.401 GB, free: 4.793 MB / 1.092 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.008497/0.4597, allocations: 5.45 MB / 1.406 GB, free: 15.15 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.461, allocations: 0.5446 MB / 1.407 GB, free: 14.6 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008022/0.4618, allocations: 373.8 kB / 1.407 GB, free: 14.23 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002679/0.4645, allocations: 1.139 MB / 1.408 GB, free: 13.07 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009654/0.4655, allocations: 0.4885 MB / 1.409 GB, free: 12.54 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000534/0.466, allocations: 91.47 kB / 1.409 GB, free: 12.45 MB / 1.107 GB Notification: Performance of pre-optimization done (n=44): time 2.604e-06/0.466, allocations: 4 kB / 1.409 GB, free: 12.45 MB / 1.107 GB Notification: Performance of matching and sorting (n=44): time 0.003872/0.4699, allocations: 1.293 MB / 1.41 GB, free: 11.14 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.4699, allocations: 59.41 kB / 1.41 GB, free: 11.07 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/0.4731, allocations: 2.309 MB / 1.412 GB, free: 8.742 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.472e-05/0.4732, allocations: 45.7 kB / 1.413 GB, free: 8.691 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.4742, allocations: 1.013 MB / 1.414 GB, free: 7.668 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.4744, allocations: 174.6 kB / 1.414 GB, free: 7.496 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004251/0.4748, allocations: 294.7 kB / 1.414 GB, free: 7.203 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.475, allocations: 361.9 kB / 1.414 GB, free: 6.844 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.476, allocations: 0.5191 MB / 1.415 GB, free: 6.312 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.4777, allocations: 1.562 MB / 1.416 GB, free: 4.398 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.4799, allocations: 1.341 MB / 1.418 GB, free: 2.895 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4799, allocations: 3.938 kB / 1.418 GB, free: 2.891 MB / 1.107 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003626/0.4835, allocations: 1.824 MB / 1.419 GB, free: 1.047 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.4836, allocations: 41.64 kB / 1.419 GB, free: 1 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.4836, allocations: 12 kB / 1.419 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007424/0.4843, allocations: 192.7 kB / 1.42 GB, free: 0.7969 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009037/0.4852, allocations: 219.6 kB / 1.42 GB, free: 0.582 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007893/0.486, allocations: 0.7575 MB / 1.421 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.4873, allocations: 71.92 kB / 1.421 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.4874, allocations: 59.97 kB / 1.421 GB, free: 15.67 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001794/0.4892, allocations: 1.055 MB / 1.422 GB, free: 14.61 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001624/0.4909, allocations: 1.546 MB / 1.423 GB, free: 12.71 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001948/0.4928, allocations: 1.301 MB / 1.425 GB, free: 11.25 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.314e-06/0.4928, allocations: 4 kB / 1.425 GB, free: 11.24 MB / 1.123 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003266/0.4961, allocations: 1.738 MB / 1.426 GB, free: 9.484 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.4961, allocations: 38.52 kB / 1.426 GB, free: 9.441 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.4961, allocations: 8 kB / 1.426 GB, free: 9.434 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/0.4964, allocations: 128.8 kB / 1.426 GB, free: 9.305 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008238/0.4972, allocations: 219.6 kB / 1.427 GB, free: 9.09 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.4996, allocations: 2.184 MB / 1.429 GB, free: 6.805 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.5009, allocations: 72.3 kB / 1.429 GB, free: 6.734 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.501, allocations: 60.05 kB / 1.429 GB, free: 6.676 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003359/0.5014, allocations: 255.9 kB / 1.429 GB, free: 6.418 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.5017, allocations: 210.6 kB / 1.429 GB, free: 6.211 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/0.5041, allocations: 1.029 MB / 1.43 GB, free: 5.172 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001829/0.506, allocations: 0.9622 MB / 1.431 GB, free: 4.137 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.506, allocations: 0 / 1.431 GB, free: 4.137 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008726/0.5068, allocations: 278.5 kB / 1.432 GB, free: 3.863 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.5071, allocations: 12 kB / 1.432 GB, free: 3.852 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.5078, allocations: 51.91 kB / 1.432 GB, free: 3.801 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.508, allocations: 48.33 kB / 1.432 GB, free: 3.754 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002342/0.5103, allocations: 0.8868 MB / 1.433 GB, free: 2.855 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002672/0.513, allocations: 1.324 MB / 1.434 GB, free: 1.516 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006848/0.5137, allocations: 291.2 kB / 1.434 GB, free: 1.23 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002608/0.5163, allocations: 1.558 MB / 1.436 GB, free: 15.66 MB / 1.139 GB Notification: Performance of Backend: time 6.11e-07/0.5163, allocations: 0 / 1.436 GB, free: 15.66 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005362/0.5216, allocations: 2.215 MB / 1.438 GB, free: 13.39 MB / 1.139 GB Notification: Performance of SimCode: time 0.008521/0.5301, allocations: 4.794 MB / 1.442 GB, free: 8.559 MB / 1.139 GB Notification: Performance of Templates: time 0.07501/0.6052, allocations: 46.32 MB / 1.488 GB, free: 10.98 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example3.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.81608014000085]