Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002246/0.002246, allocations: 89.47 kB / 19.44 MB, free: 344 kB / 13.93 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.002685/0.002685, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.589/1.589, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.464/3.464, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.437e-05, allocations: 8.359 kB / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002613/0.002647, allocations: 1.265 MB / 0.8787 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.005191, allocations: 1.353 MB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.005215, allocations: 4 kB / 0.88 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.005233, allocations: 0 / 0.88 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0008007/0.006033, allocations: 225.6 kB / 0.8802 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.006139, allocations: 32.86 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.006197, allocations: 15.92 kB / 0.8803 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.006248, allocations: 1.094 kB / 0.8803 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.535e-05/0.006303, allocations: 15.98 kB / 0.8803 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3799/0.3862, allocations: 51.9 MB / 0.931 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.3863, allocations: 0 / 0.931 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.3863, allocations: 0 / 0.931 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.3863, allocations: 3.938 kB / 0.931 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.3863, allocations: 4 kB / 0.931 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.3865, allocations: 19.97 kB / 0.931 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3865, allocations: 0 / 0.931 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3865, allocations: 0 / 0.931 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3865, allocations: 0 / 0.931 GB, free: 3.949 MB / 0.8855 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.0004198/0.3869, allocations: 344.3 kB / 0.9313 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.387, allocations: 16.02 kB / 0.9313 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.3871, allocations: 128.1 kB / 0.9315 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.3873, allocations: 223.8 kB / 0.9317 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.3874, allocations: 238.8 kB / 0.9319 GB, free: 2.957 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.3875, allocations: 246.7 kB / 0.9321 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.3876, allocations: 145.5 kB / 0.9323 GB, free: 2.566 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.18e-05/0.3877, allocations: 119.4 kB / 0.9324 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.3878, allocations: 242.5 kB / 0.9326 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.388, allocations: 238.4 kB / 0.9328 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.3881, allocations: 242.4 kB / 0.9331 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.3885, allocations: 0.572 MB / 0.9336 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.3887, allocations: 269.4 kB / 0.9339 GB, free: 0.8555 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.3888, allocations: 126.9 kB / 0.934 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.352e-05/0.3889, allocations: 123.2 kB / 0.9341 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/0.389, allocations: 156.6 kB / 0.9343 GB, free: 452 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.389, allocations: 0 / 0.9343 GB, free: 452 kB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 9.186e-05/0.3891, allocations: 29.64 kB / 0.9343 GB, free: 416 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/0.3892, allocations: 255.7 kB / 0.9346 GB, free: 128 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3894, allocations: 169.9 kB / 0.9347 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3894, allocations: 25.7 kB / 0.9347 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.3895, allocations: 126.9 kB / 0.9349 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.3895, allocations: 7.938 kB / 0.9349 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.3896, allocations: 19.38 kB / 0.9349 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002607/0.3898, allocations: 0.4884 MB / 0.9354 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-06/0.3898, allocations: 0 / 0.9354 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.39, allocations: 108.2 kB / 0.9355 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/0.39, allocations: 119.2 kB / 0.9356 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.991e-05/0.3901, allocations: 119.2 kB / 0.9357 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.184e-05/0.3902, allocations: 37.59 kB / 0.9357 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.736e-05/0.3903, allocations: 123.2 kB / 0.9358 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/0.3904, allocations: 119.2 kB / 0.936 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.3906, allocations: 242.4 kB / 0.9362 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.3907, allocations: 143.2 kB / 0.9363 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001375/0.3908, allocations: 238.4 kB / 0.9366 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.391, allocations: 127.1 kB / 0.9367 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.3911, allocations: 119.2 kB / 0.9368 GB, free: 13.74 MB / 0.9011 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.0002627/0.3913, allocations: 395 kB / 0.9372 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.3914, allocations: 152.9 kB / 0.9373 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.3915, allocations: 156 kB / 0.9375 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000149/0.3917, allocations: 264.1 kB / 0.9377 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001635/0.3919, allocations: 276 kB / 0.938 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001314/0.392, allocations: 264.1 kB / 0.9382 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.3923, allocations: 0.496 MB / 0.9387 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-05/0.3924, allocations: 148.8 kB / 0.9389 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.341e-05/0.3925, allocations: 148.9 kB / 0.939 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.3926, allocations: 268 kB / 0.9393 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.3928, allocations: 268.1 kB / 0.9395 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002471/0.393, allocations: 268.1 kB / 0.9398 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000141/0.3931, allocations: 272 kB / 0.94 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.3934, allocations: 447.9 kB / 0.9405 GB, free: 9.824 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/0.3935, allocations: 152.9 kB / 0.9406 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.3937, allocations: 268 kB / 0.9409 GB, free: 9.398 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.3938, allocations: 152.9 kB / 0.941 GB, free: 9.242 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.394, allocations: 276.3 kB / 0.9413 GB, free: 8.965 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.041e-05/0.3941, allocations: 152.8 kB / 0.9414 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 7.581e-05/0.3941, allocations: 119.2 kB / 0.9415 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.3941, allocations: 0 / 0.9415 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002565/0.3944, allocations: 7.938 kB / 0.9415 GB, free: 8.684 MB / 0.9011 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.0002156/0.3946, allocations: 214.4 kB / 0.9417 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 8.18e-05/0.3947, allocations: 8.031 kB / 0.9417 GB, free: 8.457 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3947, allocations: 0 / 0.9417 GB, free: 8.457 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.163e-06/0.3947, allocations: 4 kB / 0.9417 GB, free: 8.453 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.3953, allocations: 0.7139 MB / 0.9424 GB, free: 7.734 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.3957, allocations: 217.6 kB / 0.9427 GB, free: 7.492 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.784e-05/0.3958, allocations: 63.2 kB / 0.9427 GB, free: 7.41 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 4.63e-05/0.3958, allocations: 0 / 0.9427 GB, free: 7.41 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.3958, allocations: 12.5 kB / 0.9427 GB, free: 7.398 MB / 0.9011 GB Notification: Performance of SimCode: time 9.42e-07/0.3958, allocations: 0 / 0.9427 GB, free: 7.398 MB / 0.9011 GB Notification: Performance of Templates: time 0.003707/0.3995, allocations: 0.5634 MB / 0.9433 GB, free: 6.84 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.112022488028742]