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.001913/0.001913, allocations: 83.03 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002387/0.002387, allocations: 161.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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.509/1.509, allocations: 177.2 MB / 202.8 MB, free: 9.145 MB / 190.1 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 2.925/2.925, allocations: 389 MB / 0.633 GB, free: 0.9688 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.483e-06/1.483e-06, allocations: 0 / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.871e-05, allocations: 6.219 kB / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002519/0.002547, allocations: 1.269 MB / 1.001 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.004795, allocations: 1.328 MB / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.004816, allocations: 0 / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.004839, allocations: 3.938 kB / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008899/0.005729, allocations: 220 kB / 1.003 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.005846, allocations: 30.58 kB / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.005907, allocations: 19.91 kB / 1.003 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.848e-05/0.005955, allocations: 4 kB / 1.003 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.765e-05/0.005993, allocations: 8 kB / 1.003 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.279/0.285, allocations: 31.11 MB / 1.033 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.2851, allocations: 0 / 1.033 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.2851, allocations: 4 kB / 1.033 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.2851, allocations: 4 kB / 1.033 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.2851, allocations: 7.938 kB / 1.033 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.2852, allocations: 11.97 kB / 1.033 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2852, allocations: 0 / 1.033 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2852, allocations: 0 / 1.033 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.2852, allocations: 0 / 1.033 GB, free: 8.219 MB / 0.9825 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.0003508/0.2856, allocations: 254.4 kB / 1.034 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2856, allocations: 8.031 kB / 1.034 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.183e-05/0.2857, allocations: 80.22 kB / 1.034 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.2859, allocations: 184.9 kB / 1.034 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.2859, allocations: 154.9 kB / 1.034 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.556e-05/0.286, allocations: 150.9 kB / 1.034 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.348e-05/0.2861, allocations: 101.5 kB / 1.034 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/0.2861, allocations: 79.45 kB / 1.034 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.071e-05/0.2862, allocations: 158.7 kB / 1.034 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.017e-05/0.2863, allocations: 150.6 kB / 1.035 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.013e-05/0.2864, allocations: 154.5 kB / 1.035 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.2867, allocations: 401.6 kB / 1.035 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.2868, allocations: 165.1 kB / 1.035 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.2868, allocations: 84.14 kB / 1.035 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.2869, allocations: 75.28 kB / 1.035 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/0.2869, allocations: 113.8 kB / 1.036 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2869, allocations: 3.938 kB / 1.036 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.566e-05/0.287, allocations: 37.62 kB / 1.036 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.2872, allocations: 207.7 kB / 1.036 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.2873, allocations: 93.86 kB / 1.036 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.2873, allocations: 25.7 kB / 1.036 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.2873, allocations: 92.14 kB / 1.036 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-06/0.2873, allocations: 0 / 1.036 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.2874, allocations: 17.7 kB / 1.036 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2875, allocations: 310.8 kB / 1.036 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-06/0.2875, allocations: 3.938 kB / 1.036 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.655e-05/0.2876, allocations: 99.69 kB / 1.036 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.2877, allocations: 75.28 kB / 1.036 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.975e-05/0.2877, allocations: 75.28 kB / 1.037 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.772e-05/0.2878, allocations: 37.62 kB / 1.037 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.2878, allocations: 79.28 kB / 1.037 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.203e-05/0.2879, allocations: 79.28 kB / 1.037 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.847e-05/0.2879, allocations: 158.5 kB / 1.037 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.05e-05/0.288, allocations: 79.22 kB / 1.037 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.525e-05/0.288, allocations: 154.6 kB / 1.037 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.2882, allocations: 87.22 kB / 1.037 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.2883, allocations: 83.27 kB / 1.037 GB, free: 3.961 MB / 0.9825 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.0001548/0.2884, allocations: 260.4 kB / 1.038 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.2885, allocations: 104.9 kB / 1.038 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.821e-05/0.2886, allocations: 108.1 kB / 1.038 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.824e-05/0.2887, allocations: 180.3 kB / 1.038 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-05/0.2887, allocations: 192.1 kB / 1.038 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-05/0.2888, allocations: 180.5 kB / 1.038 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007053/0.2895, allocations: 348.8 kB / 1.039 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.597e-05/0.2896, allocations: 113 kB / 1.039 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.2896, allocations: 101 kB / 1.039 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.703e-05/0.2897, allocations: 184.2 kB / 1.039 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.409e-05/0.2898, allocations: 180.3 kB / 1.039 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.367e-05/0.2899, allocations: 180.2 kB / 1.039 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.518e-05/0.29, allocations: 176.3 kB / 1.039 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.2902, allocations: 319.6 kB / 1.04 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.2902, allocations: 105 kB / 1.04 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.2903, allocations: 188.2 kB / 1.04 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.2905, allocations: 109.4 kB / 1.04 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.2906, allocations: 184.1 kB / 1.04 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.2906, allocations: 105 kB / 1.04 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.147e-05/0.2907, allocations: 79.28 kB / 1.041 GB, free: 456 kB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.2907, allocations: 0 / 1.041 GB, free: 456 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003074/0.291, allocations: 7.938 kB / 1.041 GB, free: 448 kB / 0.9825 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.0001554/0.2912, allocations: 170.5 kB / 1.041 GB, free: 268 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.918e-05/0.2912, allocations: 4 kB / 1.041 GB, free: 264 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2912, allocations: 7.938 kB / 1.041 GB, free: 256 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.506e-06/0.2912, allocations: 4.016 kB / 1.041 GB, free: 252 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.2916, allocations: 459.7 kB / 1.041 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.2919, allocations: 168.1 kB / 1.041 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.54e-05/0.292, allocations: 55.36 kB / 1.041 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.292, allocations: 4 kB / 1.041 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.292, allocations: 8.5 kB / 1.041 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.292, allocations: 4 kB / 1.041 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of Templates: time 0.004497/0.2965, allocations: 0.5459 MB / 1.042 GB, free: 14.97 MB / 0.9981 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.579573914408684]