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.001904/0.001904, allocations: 85.42 kB / 19.18 MB, free: 2.523 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.002241/0.002241, allocations: 165.9 kB / 22.46 MB, free: 5.359 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.47/1.47, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 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.7/2.7, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] 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 4.268e-06/4.268e-06, allocations: 4 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.676e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.002933/0.00297, allocations: 1.261 MB / 0.9522 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.005555, allocations: 1.333 MB / 0.9535 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.00558, allocations: 0 / 0.9535 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.005611, allocations: 3.984 kB / 0.9535 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.006704, allocations: 223.1 kB / 0.9537 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.006906, allocations: 31.89 kB / 0.9537 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.663e-05/0.006972, allocations: 15.94 kB / 0.9538 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.007033, allocations: 3.984 kB / 0.9538 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/0.007083, allocations: 19.92 kB / 0.9538 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2758/0.2829, allocations: 31.12 MB / 0.9842 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.283, allocations: 0 / 0.9842 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.283, allocations: 0 / 0.9842 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.283, allocations: 4 kB / 0.9842 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.283, allocations: 4 kB / 0.9842 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.2832, allocations: 19.97 kB / 0.9842 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2832, allocations: 0 / 0.9842 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2832, allocations: 0 / 0.9842 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.2832, allocations: 0 / 0.9842 GB, free: 12.83 MB / 0.8887 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.0003677/0.2836, allocations: 248.8 kB / 0.9844 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.2836, allocations: 8.031 kB / 0.9844 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.2837, allocations: 80.22 kB / 0.9845 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.2839, allocations: 177.1 kB / 0.9847 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-05/0.2839, allocations: 150.9 kB / 0.9848 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-05/0.284, allocations: 154.9 kB / 0.985 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.187e-05/0.2841, allocations: 105.5 kB / 0.9851 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.2841, allocations: 75.47 kB / 0.9851 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.2842, allocations: 166.6 kB / 0.9853 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.513e-05/0.2843, allocations: 154.6 kB / 0.9854 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.605e-05/0.2844, allocations: 150.6 kB / 0.9856 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.2847, allocations: 397.6 kB / 0.986 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.2848, allocations: 169.1 kB / 0.9861 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.2849, allocations: 84.08 kB / 0.9862 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.2849, allocations: 79.22 kB / 0.9863 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.179e-05/0.285, allocations: 109.8 kB / 0.9864 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.285, allocations: 0 / 0.9864 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.000108/0.2851, allocations: 41.59 kB / 0.9864 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.2852, allocations: 207.7 kB / 0.9866 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.2854, allocations: 101.8 kB / 0.9867 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.2854, allocations: 25.7 kB / 0.9868 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.2854, allocations: 80.14 kB / 0.9868 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.2854, allocations: 0 / 0.9868 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.2855, allocations: 17.72 kB / 0.9868 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2856, allocations: 314.8 kB / 0.9871 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-06/0.2856, allocations: 0 / 0.9871 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.2857, allocations: 107.6 kB / 0.9872 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.2858, allocations: 79.28 kB / 0.9873 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.81e-05/0.2858, allocations: 75.28 kB / 0.9874 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.416e-05/0.2859, allocations: 29.7 kB / 0.9874 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.204e-05/0.2859, allocations: 79.28 kB / 0.9875 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.803e-05/0.286, allocations: 83.28 kB / 0.9876 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.144e-05/0.2861, allocations: 158.5 kB / 0.9877 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.2861, allocations: 79.22 kB / 0.9878 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.907e-05/0.2862, allocations: 158.5 kB / 0.988 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.2864, allocations: 79.28 kB / 0.988 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.2864, allocations: 79.28 kB / 0.9881 GB, free: 8.582 MB / 0.8887 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.0001628/0.2866, allocations: 268.3 kB / 0.9884 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.46e-05/0.2867, allocations: 109 kB / 0.9885 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.278e-05/0.2867, allocations: 104.1 kB / 0.9886 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.867e-05/0.2868, allocations: 184.2 kB / 0.9887 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001088/0.2869, allocations: 180.2 kB / 0.9889 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-05/0.287, allocations: 180.2 kB / 0.9891 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.2873, allocations: 356.9 kB / 0.9894 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-05/0.2873, allocations: 101 kB / 0.9895 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.2874, allocations: 108.9 kB / 0.9896 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.655e-05/0.2875, allocations: 180.2 kB / 0.9898 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.2876, allocations: 184.2 kB / 0.99 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.038e-05/0.2877, allocations: 184.3 kB / 0.9902 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-05/0.2878, allocations: 180.2 kB / 0.9903 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.2879, allocations: 315.7 kB / 0.9906 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.288, allocations: 112.9 kB / 0.9907 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.2881, allocations: 180.3 kB / 0.9909 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.2883, allocations: 101.4 kB / 0.991 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/0.2884, allocations: 192.1 kB / 0.9912 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.2884, allocations: 101 kB / 0.9913 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 5.714e-05/0.2885, allocations: 83.28 kB / 0.9914 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of sort global known variables: time 6e-08/0.2885, allocations: 0 / 0.9914 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002812/0.2888, allocations: 8 kB / 0.9914 GB, free: 5.055 MB / 0.8887 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.0001719/0.2889, allocations: 170.5 kB / 0.9915 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.519e-05/0.289, allocations: 7.938 kB / 0.9915 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.289, allocations: 3.984 kB / 0.9915 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.289, allocations: 80 / 0.9915 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.2894, allocations: 455.7 kB / 0.992 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.2898, allocations: 168.2 kB / 0.9921 GB, free: 4.227 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.564e-05/0.2899, allocations: 59.72 kB / 0.9922 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.2899, allocations: 11.98 kB / 0.9922 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.2899, allocations: 8.5 kB / 0.9922 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of SimCode: time 5.81e-07/0.2899, allocations: 0 / 0.9922 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of Templates: time 0.005214/0.2951, allocations: 0.5388 MB / 0.9927 GB, free: 3.598 MB / 0.8887 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 400] 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.284238014370203]