Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example4.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.002109/0.002109, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.00271/0.00271, allocations: 161.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 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.489/1.489, allocations: 177.2 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.842/2.842, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0.7656 kB / 0.8108 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.249e-05, allocations: 3.312 kB / 0.8108 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.3314/0.3315, allocations: 210.7 MB / 1.017 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5424/0.8738, allocations: 14.59 MB / 1.031 GB, free: 17.29 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002676/0.8765, allocations: 87.47 kB / 1.031 GB, free: 17.29 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.003756/0.8803, allocations: 1.02 MB / 1.032 GB, free: 17.29 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.892, allocations: 3.172 MB / 1.035 GB, free: 17.28 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.006948/0.899, allocations: 1.758 MB / 1.037 GB, free: 17.24 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.007419/0.9064, allocations: 3.5 MB / 1.04 GB, free: 17.13 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003328/0.9097, allocations: 1.036 MB / 1.041 GB, free: 16.99 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01376/0.9235, allocations: 3.33 MB / 1.044 GB, free: 16.64 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003956/0.9274, allocations: 0.9804 MB / 1.045 GB, free: 16.52 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0006322/0.9281, allocations: 121.1 kB / 1.045 GB, free: 16.52 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008194/0.9363, allocations: 2.578 MB / 1.048 GB, free: 16.27 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.9375, allocations: 0.5114 MB / 1.048 GB, free: 16.18 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001866/0.9393, allocations: 0.5369 MB / 1.049 GB, free: 16.11 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.007305/0.9466, allocations: 3.011 MB / 1.052 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9466, allocations: 0 / 1.052 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9466, allocations: 0.9688 kB / 1.052 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.875e-05/0.9467, allocations: 1.188 kB / 1.052 GB, free: 15.82 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00528/0.952, allocations: 1.983 MB / 1.054 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.952, allocations: 9.531 kB / 1.054 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/0.9553, allocations: 0.6529 MB / 1.055 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.9579, allocations: 1.204 MB / 1.056 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.905e-05/0.958, allocations: 82.22 kB / 1.056 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.9582, allocations: 97.81 kB / 1.056 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/0.9607, allocations: 1.448 MB / 1.057 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.9607, allocations: 9.906 kB / 1.057 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.9608, allocations: 43.06 kB / 1.057 GB, free: 13.84 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/0.9609, allocations: 45.98 kB / 1.057 GB, free: 13.83 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.9633, allocations: 1.051 MB / 1.058 GB, free: 13.83 MB / 0.9323 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.006369/0.9696, allocations: 5.832 MB / 1.064 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.971, allocations: 0.5242 MB / 1.065 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.9716, allocations: 246.9 kB / 1.065 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.9718, allocations: 58.66 kB / 1.065 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.9719, allocations: 36.72 kB / 1.065 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.9719, allocations: 0.6562 kB / 1.065 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.002229/0.9741, allocations: 0.8454 MB / 1.066 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.9741, allocations: 55.41 kB / 1.066 GB, free: 10.03 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.9755, allocations: 1.127 MB / 1.067 GB, free: 9.852 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.9756, allocations: 32.98 kB / 1.067 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.9759, allocations: 0.7428 MB / 1.068 GB, free: 9.477 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.876e-05/0.976, allocations: 127.2 kB / 1.068 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.9763, allocations: 161.2 kB / 1.068 GB, free: 9.371 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.28e-05/0.9763, allocations: 332.7 kB / 1.068 GB, free: 9.066 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007464/0.9771, allocations: 315.8 kB / 1.069 GB, free: 9.059 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009232/0.978, allocations: 0.9641 MB / 1.07 GB, free: 8.262 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.9795, allocations: 0.9299 MB / 1.07 GB, free: 7.852 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.9795, allocations: 9.031 kB / 1.07 GB, free: 7.848 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002178/0.9817, allocations: 1.072 MB / 1.071 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.9817, allocations: 11.56 kB / 1.072 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.9817, allocations: 14.03 kB / 1.072 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.9818, allocations: 14 kB / 1.072 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000801/0.9826, allocations: 201.7 kB / 1.072 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.9826, allocations: 24.3 kB / 1.072 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.9839, allocations: 151.3 kB / 1.072 GB, free: 7.711 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.023e-05/0.984, allocations: 49.5 kB / 1.072 GB, free: 7.711 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001066/0.985, allocations: 0.5617 MB / 1.072 GB, free: 7.629 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000911/0.9859, allocations: 0.961 MB / 1.073 GB, free: 6.824 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001484/0.9874, allocations: 0.9337 MB / 1.074 GB, free: 6.41 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.695e-06/0.9874, allocations: 3.906 kB / 1.074 GB, free: 6.41 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002256/0.9897, allocations: 1.073 MB / 1.075 GB, free: 6.312 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.9897, allocations: 7.625 kB / 1.075 GB, free: 6.312 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.9897, allocations: 11.38 kB / 1.075 GB, free: 6.312 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.9897, allocations: 17.69 kB / 1.075 GB, free: 6.312 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007645/0.9905, allocations: 201.6 kB / 1.076 GB, free: 6.312 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.9905, allocations: 23.58 kB / 1.076 GB, free: 6.312 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.9918, allocations: 135.7 kB / 1.076 GB, free: 6.289 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/0.9919, allocations: 43.11 kB / 1.076 GB, free: 6.289 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.0002218/0.9921, allocations: 233.9 kB / 1.076 GB, free: 6.102 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.9923, allocations: 134.2 kB / 1.076 GB, free: 6.035 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.9938, allocations: 0.645 MB / 1.077 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.9938, allocations: 3.688 kB / 1.077 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9938, allocations: 0 / 1.077 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.9938, allocations: 2.812 kB / 1.077 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.9969, allocations: 1.649 MB / 1.078 GB, free: 5.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.537e-06/0.997, allocations: 6.156 kB / 1.078 GB, free: 5.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.9974, allocations: 90.61 kB / 1.078 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.9974, allocations: 5.969 kB / 1.079 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.9975, allocations: 12.22 kB / 1.079 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/0.9975, allocations: 12.19 kB / 1.079 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.9975, allocations: 2.344 kB / 1.079 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.9988, allocations: 0.7831 MB / 1.079 GB, free: 5.262 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/0.9993, allocations: 192.9 kB / 1.079 GB, free: 5.191 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.9995, allocations: 10.44 kB / 1.079 GB, free: 5.191 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009628/1, allocations: 63.28 kB / 1.08 GB, free: 5.191 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/1.001, allocations: 34.53 kB / 1.08 GB, free: 5.188 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/1.001, allocations: 22.45 kB / 1.08 GB, free: 5.188 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001128/1.002, allocations: 0.7525 MB / 1.08 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.1e-08/1.002, allocations: 0 / 1.08 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002151/1.004, allocations: 0.657 MB / 1.081 GB, free: 4.969 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0004753/1.004, allocations: 255.6 kB / 1.081 GB, free: 4.863 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002631/1.007, allocations: 1.093 MB / 1.082 GB, free: 4.848 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.007, allocations: 3.375 kB / 1.082 GB, free: 4.848 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006035/1.008, allocations: 252.9 kB / 1.083 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.01, allocations: 0.4896 MB / 1.083 GB, free: 4.754 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/1.014, allocations: 2.227 MB / 1.085 GB, free: 3.715 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/1.015, allocations: 0.599 MB / 1.086 GB, free: 3.574 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001216/1.016, allocations: 334.3 kB / 1.086 GB, free: 3.496 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/1.016, allocations: 79.81 kB / 1.086 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of SimCode: time 9.12e-07/1.016, allocations: 0 / 1.086 GB, free: 3.488 MB / 0.9323 GB Notification: Performance of Templates: time 0.03632/1.053, allocations: 17.92 MB / 1.104 GB, free: 1.57 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.Example4.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.53106200194452]