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.002179/0.002179, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002572/0.002572, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.535/1.535, allocations: 177.1 MB / 203.9 MB, free: 5.625 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.875/2.875, allocations: 359 MB / 0.6048 GB, free: 10.96 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.994e-06/1.994e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.375e-05/3.575e-05, allocations: 5.266 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002623/0.002659, allocations: 1.26 MB / 0.7876 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.005149, allocations: 1.354 MB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.00517, allocations: 0 / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.005185, allocations: 0 / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000809/0.005994, allocations: 223.9 kB / 0.7891 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.006099, allocations: 32.66 kB / 0.7892 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.528e-05/0.006164, allocations: 21.17 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.00621, allocations: 0 / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.00626, allocations: 11.98 kB / 0.7892 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3813/0.3875, allocations: 51.91 MB / 0.8399 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.3875, allocations: 4 kB / 0.8399 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.3876, allocations: 0 / 0.8399 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.3876, allocations: 7.984 kB / 0.8399 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.3876, allocations: 11.98 kB / 0.8399 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.3877, allocations: 4 kB / 0.8399 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3877, allocations: 0 / 0.8399 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3877, allocations: 0 / 0.8399 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3877, allocations: 3.938 kB / 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.0003904/0.3881, allocations: 348.4 kB / 0.8403 GB, free: 9.934 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3882, allocations: 12.03 kB / 0.8403 GB, free: 9.922 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.3883, allocations: 124.1 kB / 0.8404 GB, free: 9.801 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.3885, allocations: 235.8 kB / 0.8406 GB, free: 9.543 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.3886, allocations: 242.8 kB / 0.8409 GB, free: 9.305 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.3887, allocations: 246.7 kB / 0.8411 GB, free: 9.062 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.3888, allocations: 149.3 kB / 0.8412 GB, free: 8.914 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.049e-05/0.3889, allocations: 119.4 kB / 0.8413 GB, free: 8.797 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.389, allocations: 246.5 kB / 0.8416 GB, free: 8.555 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.3891, allocations: 238.4 kB / 0.8418 GB, free: 8.32 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.3892, allocations: 238.4 kB / 0.842 GB, free: 8.086 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.3897, allocations: 0.5681 MB / 0.8426 GB, free: 7.484 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.3898, allocations: 269.4 kB / 0.8428 GB, free: 7.207 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.3899, allocations: 126.9 kB / 0.843 GB, free: 7.078 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-05/0.39, allocations: 123.2 kB / 0.8431 GB, free: 6.957 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.462e-05/0.3901, allocations: 156.6 kB / 0.8432 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.3901, allocations: 4 kB / 0.8432 GB, free: 6.789 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 9.244e-05/0.3902, allocations: 33.75 kB / 0.8433 GB, free: 6.75 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.3903, allocations: 255.6 kB / 0.8435 GB, free: 6.469 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.3905, allocations: 157.9 kB / 0.8437 GB, free: 6.297 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.3905, allocations: 25.7 kB / 0.8437 GB, free: 6.266 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.3906, allocations: 134.9 kB / 0.8438 GB, free: 6.129 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.3906, allocations: 0 / 0.8438 GB, free: 6.129 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.3906, allocations: 19.38 kB / 0.8438 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000265/0.3909, allocations: 492.1 kB / 0.8443 GB, free: 5.609 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.488e-06/0.3909, allocations: 0 / 0.8443 GB, free: 5.609 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.391, allocations: 116.2 kB / 0.8444 GB, free: 5.465 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.033e-05/0.3911, allocations: 119.2 kB / 0.8445 GB, free: 5.348 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.924e-05/0.3911, allocations: 119.2 kB / 0.8446 GB, free: 5.23 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.749e-05/0.3912, allocations: 29.7 kB / 0.8447 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 7.625e-05/0.3913, allocations: 127.2 kB / 0.8448 GB, free: 5.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.195e-05/0.3913, allocations: 123.1 kB / 0.8449 GB, free: 4.949 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.3915, allocations: 238.4 kB / 0.8451 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.3915, allocations: 135.2 kB / 0.8453 GB, free: 4.582 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001195/0.3916, allocations: 242.4 kB / 0.8455 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.3918, allocations: 127.1 kB / 0.8456 GB, free: 4.219 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/0.3919, allocations: 127.1 kB / 0.8457 GB, free: 4.094 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.0002967/0.3922, allocations: 399 kB / 0.8461 GB, free: 3.691 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.3923, allocations: 144.9 kB / 0.8463 GB, free: 3.543 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.3924, allocations: 160 kB / 0.8464 GB, free: 3.379 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001404/0.3926, allocations: 268.1 kB / 0.8467 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001605/0.3927, allocations: 272 kB / 0.8469 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001603/0.3929, allocations: 268.1 kB / 0.8472 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.3932, allocations: 491.9 kB / 0.8476 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.97e-05/0.3933, allocations: 156.8 kB / 0.8478 GB, free: 1.883 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.3934, allocations: 144.9 kB / 0.8479 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001512/0.3936, allocations: 268 kB / 0.8482 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/0.3937, allocations: 272.1 kB / 0.8485 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001317/0.3938, allocations: 268.1 kB / 0.8487 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001358/0.394, allocations: 268 kB / 0.849 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.3943, allocations: 455.9 kB / 0.8494 GB, free: 184 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.3944, allocations: 144.9 kB / 0.8495 GB, free: 32 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.3946, allocations: 276.1 kB / 0.8498 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.3947, allocations: 148.8 kB / 0.8499 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.3949, allocations: 276.3 kB / 0.8502 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.395, allocations: 148.8 kB / 0.8503 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.692e-05/0.395, allocations: 131.4 kB / 0.8505 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.395, allocations: 0 / 0.8505 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002775/0.3953, allocations: 8 kB / 0.8505 GB, free: 15.04 MB / 0.8073 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.0001914/0.3955, allocations: 214.4 kB / 0.8507 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.821e-05/0.3956, allocations: 4.031 kB / 0.8507 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3956, allocations: 0 / 0.8507 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3956, allocations: 0 / 0.8507 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.3961, allocations: 0.7062 MB / 0.8514 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.3965, allocations: 225.5 kB / 0.8516 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.354e-05/0.3965, allocations: 51.36 kB / 0.8516 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.489e-05/0.3966, allocations: 8 kB / 0.8516 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.3966, allocations: 8.5 kB / 0.8517 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of SimCode: time 1.112e-06/0.3966, allocations: 0 / 0.8517 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of Templates: time 0.003237/0.3998, allocations: 0.5584 MB / 0.8522 GB, free: 13.21 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 240] 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.341066663037054]