Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.00192/0.00192, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002394/0.002394, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.501/1.501, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.846/2.846, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.142e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.00249/0.002522, allocations: 1.258 MB / 0.7876 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.004878, allocations: 1.346 MB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.004898, allocations: 0.8438 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.004917, allocations: 0 / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008254/0.005742, allocations: 231.8 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.005846, allocations: 28.89 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.463e-05/0.005901, allocations: 11.94 kB / 0.7892 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.00594, allocations: 1.25 kB / 0.7892 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.976e-05/0.00599, allocations: 15.97 kB / 0.7892 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3158/0.3218, allocations: 51.93 MB / 0.8399 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.3218, allocations: 0 / 0.8399 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.052e-05/0.3218, allocations: 0 / 0.8399 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.3219, allocations: 12 kB / 0.8399 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.3219, allocations: 0 / 0.8399 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.322, allocations: 19.91 kB / 0.8399 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.3221, allocations: 0 / 0.8399 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.066e-06/0.3221, allocations: 0 / 0.8399 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3221, allocations: 0 / 0.8399 GB, free: 10.31 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000403/0.3225, allocations: 242.4 kB / 0.8402 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3225, allocations: 8.031 kB / 0.8402 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.3226, allocations: 88.16 kB / 0.8403 GB, free: 9.953 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.3228, allocations: 185 kB / 0.8404 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-05/0.3229, allocations: 150.9 kB / 0.8406 GB, free: 9.598 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/0.323, allocations: 158.9 kB / 0.8407 GB, free: 9.441 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.713e-05/0.3231, allocations: 101.5 kB / 0.8408 GB, free: 9.336 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/0.3231, allocations: 75.47 kB / 0.8409 GB, free: 9.262 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.607e-05/0.3232, allocations: 154.7 kB / 0.841 GB, free: 9.109 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-05/0.3233, allocations: 154.6 kB / 0.8412 GB, free: 8.957 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.3234, allocations: 150.6 kB / 0.8413 GB, free: 8.809 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.3238, allocations: 405.5 kB / 0.8417 GB, free: 8.383 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.3239, allocations: 165.1 kB / 0.8419 GB, free: 8.211 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.324, allocations: 84.14 kB / 0.842 GB, free: 8.125 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.324, allocations: 75.28 kB / 0.842 GB, free: 8.051 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.459e-05/0.3241, allocations: 117.8 kB / 0.8421 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.3241, allocations: 0 / 0.8421 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 9.042e-05/0.3242, allocations: 33.64 kB / 0.8422 GB, free: 7.887 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.3243, allocations: 207.7 kB / 0.8424 GB, free: 7.652 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.3245, allocations: 97.84 kB / 0.8425 GB, free: 7.547 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3245, allocations: 25.7 kB / 0.8425 GB, free: 7.516 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.3245, allocations: 84.14 kB / 0.8426 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.3245, allocations: 0 / 0.8426 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.3246, allocations: 13.72 kB / 0.8426 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3248, allocations: 314.8 kB / 0.8429 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-06/0.3248, allocations: 0 / 0.8429 GB, free: 7.094 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.3249, allocations: 107.7 kB / 0.843 GB, free: 6.961 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.882e-05/0.3249, allocations: 75.28 kB / 0.8431 GB, free: 6.887 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.241e-05/0.325, allocations: 75.28 kB / 0.8431 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.158e-05/0.325, allocations: 37.58 kB / 0.8432 GB, free: 6.77 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/0.3251, allocations: 79.28 kB / 0.8432 GB, free: 6.691 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-05/0.3251, allocations: 79.28 kB / 0.8433 GB, free: 6.613 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.3253, allocations: 154.5 kB / 0.8435 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.3253, allocations: 83.2 kB / 0.8435 GB, free: 6.379 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.574e-05/0.3254, allocations: 154.6 kB / 0.8437 GB, free: 6.227 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.3256, allocations: 87.27 kB / 0.8438 GB, free: 6.141 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-05/0.3257, allocations: 83.28 kB / 0.8439 GB, free: 6.059 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.000174/0.3259, allocations: 256.4 kB / 0.8441 GB, free: 5.797 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.958e-05/0.3259, allocations: 112.9 kB / 0.8442 GB, free: 5.68 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.238e-05/0.326, allocations: 104.1 kB / 0.8443 GB, free: 5.57 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/0.3261, allocations: 184.3 kB / 0.8445 GB, free: 5.383 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001088/0.3262, allocations: 184.1 kB / 0.8447 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001779/0.3264, allocations: 176.3 kB / 0.8448 GB, free: 5.016 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.3267, allocations: 356.8 kB / 0.8452 GB, free: 4.629 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.525e-05/0.3268, allocations: 109 kB / 0.8453 GB, free: 4.516 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.3268, allocations: 101 kB / 0.8454 GB, free: 4.41 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/0.3269, allocations: 184.2 kB / 0.8455 GB, free: 4.223 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.327, allocations: 184.2 kB / 0.8457 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001034/0.3271, allocations: 180.2 kB / 0.8459 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001019/0.3272, allocations: 176.3 kB / 0.8461 GB, free: 3.672 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.3275, allocations: 311.9 kB / 0.8464 GB, free: 3.344 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.3275, allocations: 109.4 kB / 0.8465 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.3278, allocations: 188.2 kB / 0.8466 GB, free: 3.039 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.3279, allocations: 101 kB / 0.8467 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.3281, allocations: 196.2 kB / 0.8469 GB, free: 2.734 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.468e-05/0.3281, allocations: 105 kB / 0.847 GB, free: 2.625 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.3282, allocations: 79.28 kB / 0.8471 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3282, allocations: 4 kB / 0.8471 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002949/0.3285, allocations: 4 kB / 0.8471 GB, free: 2.539 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001768/0.3287, allocations: 166.5 kB / 0.8473 GB, free: 2.367 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 5.089e-05/0.3287, allocations: 4 kB / 0.8473 GB, free: 2.363 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3287, allocations: 0 / 0.8473 GB, free: 2.363 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-06/0.3287, allocations: 3.938 kB / 0.8473 GB, free: 2.359 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.3292, allocations: 463.7 kB / 0.8477 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.3295, allocations: 168 kB / 0.8479 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.341e-05/0.3295, allocations: 63.28 kB / 0.8479 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 2.863e-05/0.3296, allocations: 4 kB / 0.8479 GB, free: 1.625 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.3296, allocations: 8.5 kB / 0.8479 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of SimCode: time 4.01e-07/0.3296, allocations: 0 / 0.8479 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of Templates: time 0.003065/0.3327, allocations: 0.5569 MB / 0.8485 GB, free: 1.062 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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: 8.387088642921299]