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.001806/0.001806, allocations: 92.7 kB / 19.44 MB, free: 324 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.002299/0.002299, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.238/3.238, allocations: 429.6 MB / 0.673 GB, free: 3.906 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.673e-06/1.673e-06, allocations: 0 / 0.8776 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.065e-05, allocations: 6.25 kB / 0.8776 GB, free: 5.398 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002644/0.002675, allocations: 1.253 MB / 0.8788 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002382/0.005056, allocations: 1.349 MB / 0.8801 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.005076, allocations: 0 / 0.8801 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.005094, allocations: 0 / 0.8801 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0008396/0.005933, allocations: 220.6 kB / 0.8803 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.006044, allocations: 37.97 kB / 0.8804 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.416e-05/0.006099, allocations: 17.67 kB / 0.8804 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.816e-05/0.006137, allocations: 1.125 kB / 0.8804 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.006176, allocations: 12 kB / 0.8804 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.316/0.3222, allocations: 51.91 MB / 0.9311 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.3222, allocations: 4 kB / 0.9311 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.3222, allocations: 4 kB / 0.9311 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.3222, allocations: 0 / 0.9311 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.3223, allocations: 4 kB / 0.9311 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.3224, allocations: 7.984 kB / 0.9311 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3224, allocations: 0 / 0.9311 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3224, allocations: 3.938 kB / 0.9311 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.3224, allocations: 0 / 0.9311 GB, free: 2.746 MB / 0.8386 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.00044/0.3229, allocations: 254.4 kB / 0.9314 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.3229, allocations: 12.03 kB / 0.9314 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.3231, allocations: 76.22 kB / 0.9314 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.3233, allocations: 193.1 kB / 0.9316 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.772e-05/0.3234, allocations: 154.9 kB / 0.9318 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.3235, allocations: 150.9 kB / 0.9319 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.3236, allocations: 105.5 kB / 0.932 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.001e-05/0.3236, allocations: 75.47 kB / 0.9321 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.3237, allocations: 162.7 kB / 0.9322 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.3239, allocations: 150.6 kB / 0.9324 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.324, allocations: 150.6 kB / 0.9325 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.3244, allocations: 401.5 kB / 0.9329 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.3246, allocations: 165.1 kB / 0.9331 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.3246, allocations: 88.14 kB / 0.9332 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.3247, allocations: 75.28 kB / 0.9332 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.325, allocations: 109.8 kB / 0.9333 GB, free: 360 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.325, allocations: 0 / 0.9333 GB, free: 360 kB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.000123/0.3251, allocations: 33.64 kB / 0.9334 GB, free: 320 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000203/0.3253, allocations: 211.7 kB / 0.9336 GB, free: 76 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.3255, allocations: 93.86 kB / 0.9337 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.3255, allocations: 25.7 kB / 0.9337 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.481e-05/0.3256, allocations: 88.14 kB / 0.9338 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.3256, allocations: 0 / 0.9338 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.3257, allocations: 17.7 kB / 0.9338 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002238/0.3259, allocations: 314.8 kB / 0.9341 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-06/0.3259, allocations: 0 / 0.9341 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.326, allocations: 99.69 kB / 0.9342 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.416e-05/0.3261, allocations: 75.28 kB / 0.9343 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.937e-05/0.3261, allocations: 75.28 kB / 0.9343 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.592e-05/0.3262, allocations: 37.62 kB / 0.9344 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.421e-05/0.3263, allocations: 83.28 kB / 0.9344 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.976e-05/0.3263, allocations: 75.28 kB / 0.9345 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.3264, allocations: 150.6 kB / 0.9347 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.023e-05/0.3265, allocations: 87.16 kB / 0.9347 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000151/0.3266, allocations: 158.5 kB / 0.9349 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.3268, allocations: 87.27 kB / 0.935 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/0.3269, allocations: 83.27 kB / 0.935 GB, free: 14.48 MB / 0.8542 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.0002061/0.3271, allocations: 260.4 kB / 0.9353 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.291e-05/0.3272, allocations: 108.9 kB / 0.9354 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.359e-05/0.3273, allocations: 108.1 kB / 0.9355 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001189/0.3274, allocations: 180.3 kB / 0.9357 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001281/0.3275, allocations: 188.1 kB / 0.9359 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001108/0.3276, allocations: 180.3 kB / 0.936 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.328, allocations: 356.8 kB / 0.9364 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.308e-05/0.328, allocations: 109 kB / 0.9365 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.43e-05/0.3281, allocations: 105 kB / 0.9366 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002679/0.3284, allocations: 180.2 kB / 0.9367 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.3285, allocations: 180.3 kB / 0.9369 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001198/0.3286, allocations: 184.2 kB / 0.9371 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001185/0.3287, allocations: 180.3 kB / 0.9373 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.3289, allocations: 311.7 kB / 0.9376 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.322e-05/0.329, allocations: 105.4 kB / 0.9377 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.3292, allocations: 184.2 kB / 0.9378 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.3294, allocations: 113.2 kB / 0.9379 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.3295, allocations: 192.2 kB / 0.9381 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.911e-05/0.3296, allocations: 105 kB / 0.9382 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.035e-05/0.3296, allocations: 83.27 kB / 0.9383 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.3296, allocations: 0 / 0.9383 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000282/0.3299, allocations: 4 kB / 0.9383 GB, free: 10.95 MB / 0.8542 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.0002659/0.3302, allocations: 174.5 kB / 0.9385 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.416e-05/0.3302, allocations: 0 / 0.9385 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.3302, allocations: 0 / 0.9385 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.953e-06/0.3302, allocations: 3.938 kB / 0.9385 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.3307, allocations: 463.7 kB / 0.9389 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.3311, allocations: 172 kB / 0.9391 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.101e-05/0.3312, allocations: 51.36 kB / 0.9391 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.339e-05/0.3312, allocations: 4 kB / 0.9391 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.3312, allocations: 8.5 kB / 0.9391 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.3312, allocations: 0 / 0.9391 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of Templates: time 0.003075/0.3343, allocations: 0.5607 MB / 0.9397 GB, free: 9.473 MB / 0.8542 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 800] 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: 8.505385686992668]