Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008883/0.0008883, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009258/0.0009258, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9201/0.9201, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.718/1.718, allocations: 377.9 MB / 0.6229 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] 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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|QCoo_flow|QHea_flow|QWatHea_flow",fileNamePrefix="Buildings_12_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_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.435e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001534/0.001559, allocations: 1.267 MB / 0.9834 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.002846, allocations: 1.324 MB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.002867, allocations: 4 kB / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.002884, allocations: 0 / 0.9847 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.003456, allocations: 211.1 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 6.119e-05/0.003517, allocations: 39.64 kB / 0.985 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 5.01e-05/0.003567, allocations: 23.91 kB / 0.985 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.003606, allocations: 7.984 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.003639, allocations: 7.938 kB / 0.985 GB, free: 15.19 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0849/0.08854, allocations: 31.11 MB / 1.015 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.08857, allocations: 4 kB / 1.015 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.08858, allocations: 0 / 1.015 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.08859, allocations: 0 / 1.015 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.08862, allocations: 8 kB / 1.015 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.08876, allocations: 11.97 kB / 1.015 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.08877, allocations: 0 / 1.015 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.944e-06/0.08877, allocations: 0 / 1.015 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.08878, allocations: 0 / 1.015 GB, free: 3.129 MB / 0.9636 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.0002654/0.08904, allocations: 246.4 kB / 1.016 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.08909, allocations: 16.03 kB / 1.016 GB, free: 2.844 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.08915, allocations: 76.22 kB / 1.016 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.435e-05/0.08924, allocations: 185 kB / 1.016 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.715e-05/0.08928, allocations: 150.9 kB / 1.016 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.08931, allocations: 154.9 kB / 1.016 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.435e-05/0.08937, allocations: 109.5 kB / 1.016 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.08939, allocations: 87.39 kB / 1.016 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.08944, allocations: 154.7 kB / 1.017 GB, free: 1.91 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.08948, allocations: 150.6 kB / 1.017 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.08951, allocations: 150.6 kB / 1.017 GB, free: 1.613 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.0897, allocations: 397.6 kB / 1.017 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.513e-05/0.08977, allocations: 173.1 kB / 1.017 GB, free: 1.016 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.08979, allocations: 84.08 kB / 1.017 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.08981, allocations: 79.22 kB / 1.018 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.08985, allocations: 105.8 kB / 1.018 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.08985, allocations: 0 / 1.018 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.177e-05/0.08991, allocations: 33.69 kB / 1.018 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.08998, allocations: 211.7 kB / 1.018 GB, free: 472 kB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.09011, allocations: 93.86 kB / 1.018 GB, free: 368 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.09011, allocations: 25.7 kB / 1.018 GB, free: 336 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.09015, allocations: 84.14 kB / 1.018 GB, free: 248 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.09015, allocations: 4 kB / 1.018 GB, free: 244 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.09017, allocations: 21.7 kB / 1.018 GB, free: 216 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.09025, allocations: 310.8 kB / 1.018 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-06/0.09026, allocations: 3.938 kB / 1.018 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.797e-05/0.09031, allocations: 95.69 kB / 1.018 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.187e-05/0.09033, allocations: 75.28 kB / 1.019 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/0.09035, allocations: 79.28 kB / 1.019 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.341e-05/0.09038, allocations: 29.69 kB / 1.019 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.09041, allocations: 87.28 kB / 1.019 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.09043, allocations: 83.2 kB / 1.019 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.986e-05/0.09047, allocations: 150.6 kB / 1.019 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.738e-05/0.09048, allocations: 87.22 kB / 1.019 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.162e-05/0.09051, allocations: 154.5 kB / 1.019 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.09063, allocations: 91.31 kB / 1.019 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.09065, allocations: 79.22 kB / 1.019 GB, free: 14.86 MB / 0.9792 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 8.081e-05/0.09073, allocations: 264.4 kB / 1.02 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.0908, allocations: 101 kB / 1.02 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.09083, allocations: 108.1 kB / 1.02 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/0.09087, allocations: 184.2 kB / 1.02 GB, free: 14.19 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.03e-05/0.09091, allocations: 184.1 kB / 1.02 GB, free: 14 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.273e-05/0.09096, allocations: 188.2 kB / 1.02 GB, free: 13.81 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.09107, allocations: 352.9 kB / 1.021 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/0.0911, allocations: 105 kB / 1.021 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.09112, allocations: 104.9 kB / 1.021 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.821e-05/0.09115, allocations: 180.3 kB / 1.021 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.09119, allocations: 184.2 kB / 1.021 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.482e-05/0.09123, allocations: 176.3 kB / 1.021 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.016e-05/0.09127, allocations: 184.2 kB / 1.022 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.711e-05/0.09136, allocations: 303.8 kB / 1.022 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.09139, allocations: 113.3 kB / 1.022 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.09143, allocations: 184.2 kB / 1.022 GB, free: 11.85 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-05/0.09152, allocations: 109 kB / 1.022 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.09156, allocations: 184.2 kB / 1.022 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.09159, allocations: 105 kB / 1.023 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.09162, allocations: 91.44 kB / 1.023 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.09162, allocations: 0 / 1.023 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001654/0.09178, allocations: 4 kB / 1.023 GB, free: 11.34 MB / 0.9792 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.0001202/0.0919, allocations: 170.5 kB / 1.023 GB, free: 11.17 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 4.92e-05/0.09195, allocations: 3.938 kB / 1.023 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.09195, allocations: 0 / 1.023 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.09196, allocations: 8 kB / 1.023 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.09221, allocations: 459.6 kB / 1.023 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.09252, allocations: 193.8 kB / 1.023 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.09256, allocations: 55.36 kB / 1.023 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.275e-05/0.09258, allocations: 8.641 kB / 1.023 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of SimCode: time 4.31e-07/0.09258, allocations: 0 / 1.023 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.001347/0.09393, allocations: 479.4 kB / 1.024 GB, free: 9.93 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.933611186221242]