Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.0009887/0.0009887, allocations: 80.39 kB / 21.47 MB, free: 3.035 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.001196/0.001196, allocations: 170.2 kB / 24.87 MB, free: 8.883 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.9665/0.9665, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 1.79/1.79, allocations: 359 MB / 0.6063 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] 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.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.887e-05, allocations: 7.562 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001947/0.001976, allocations: 1.456 MB / 0.7897 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.003527, allocations: 1.908 MB / 0.7916 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.003553, allocations: 0 / 0.7916 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006929/0.004246, allocations: 372 kB / 0.7919 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.004285, allocations: 21.17 kB / 0.7919 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.745e-06/0.004287, allocations: 0 / 0.7919 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.004455, allocations: 135.1 kB / 0.7921 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.004494, allocations: 6.969 kB / 0.7921 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.399e-05/0.004558, allocations: 63.81 kB / 0.7921 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.004637, allocations: 51.89 kB / 0.7922 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.004652, allocations: 8.562 kB / 0.7922 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.004905, allocations: 172.6 kB / 0.7924 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.004945, allocations: 32.84 kB / 0.7924 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.004991, allocations: 47.92 kB / 0.7924 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.00529, allocations: 290.8 kB / 0.7927 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005292, allocations: 0.9375 kB / 0.7927 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.005293, allocations: 0 / 0.7927 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.005296, allocations: 0 / 0.7927 GB, free: 7.676 MB / 0.7448 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.0004408/0.005737, allocations: 0.5203 MB / 0.7932 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.005767, allocations: 8.594 kB / 0.7932 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.431e-05/0.005861, allocations: 148 kB / 0.7934 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.005986, allocations: 272 kB / 0.7936 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/0.006044, allocations: 238.8 kB / 0.7939 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.006098, allocations: 243.8 kB / 0.7941 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.175e-05/0.00615, allocations: 145.5 kB / 0.7942 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.006175, allocations: 119.4 kB / 0.7944 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/0.006227, allocations: 247.5 kB / 0.7946 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/0.006278, allocations: 242.4 kB / 0.7948 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.099e-05/0.006329, allocations: 238.4 kB / 0.795 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.006561, allocations: 0.609 MB / 0.7956 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.745e-05/0.006638, allocations: 269.4 kB / 0.7959 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.978e-05/0.006668, allocations: 126.9 kB / 0.796 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.006695, allocations: 123.1 kB / 0.7961 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.006737, allocations: 157.1 kB / 0.7963 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.006737, allocations: 0.625 kB / 0.7963 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.47e-05/0.006832, allocations: 45.61 kB / 0.7963 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.006882, allocations: 171.1 kB / 0.7965 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.007075, allocations: 364.7 kB / 0.7968 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.007085, allocations: 33.7 kB / 0.7969 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.007149, allocations: 184 kB / 0.797 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.00715, allocations: 4 kB / 0.7971 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.007206, allocations: 87.23 kB / 0.7971 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.007326, allocations: 0.5123 MB / 0.7976 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.007349, allocations: 16.81 kB / 0.7977 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.189e-05/0.007411, allocations: 105.5 kB / 0.7978 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.007518, allocations: 154.6 kB / 0.7979 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.00752, allocations: 0 / 0.7979 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002263/0.007747, allocations: 170.6 kB / 0.7981 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.007757, allocations: 8 kB / 0.7981 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.007762, allocations: 0 / 0.7981 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.007771, allocations: 4.844 kB / 0.7981 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.492e-06/0.007772, allocations: 0 / 0.7981 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.007776, allocations: 7.938 kB / 0.7981 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.007844, allocations: 33.89 kB / 0.7981 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.00785, allocations: 4 kB / 0.7981 GB, free: 1.898 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001025/0.007953, allocations: 287.7 kB / 0.7984 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.008004, allocations: 160.8 kB / 0.7985 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.008047, allocations: 164.7 kB / 0.7987 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.214e-05/0.0081, allocations: 268.1 kB / 0.799 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.844e-05/0.008158, allocations: 272.1 kB / 0.7992 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.672e-05/0.008215, allocations: 272 kB / 0.7995 GB, free: 476 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.008405, allocations: 0.5122 MB / 0.8 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.272e-05/0.008438, allocations: 148.8 kB / 0.8001 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.008472, allocations: 145 kB / 0.8003 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.537e-05/0.008527, allocations: 268.1 kB / 0.8005 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.008582, allocations: 273.3 kB / 0.8008 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.314e-05/0.008635, allocations: 268.1 kB / 0.801 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.685e-05/0.008692, allocations: 280 kB / 0.8013 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.008822, allocations: 456.4 kB / 0.8017 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.008876, allocations: 164.7 kB / 0.8019 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.008945, allocations: 269 kB / 0.8021 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.009023, allocations: 148.8 kB / 0.8023 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.009082, allocations: 268.1 kB / 0.8025 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.00912, allocations: 153.3 kB / 0.8027 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.826e-05/0.009218, allocations: 213.7 kB / 0.8029 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.009218, allocations: 0 / 0.8029 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002407/0.009459, allocations: 69.3 kB / 0.803 GB, free: 12.76 MB / 0.7605 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.0002421/0.009701, allocations: 330.4 kB / 0.8033 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 9.766e-05/0.009798, allocations: 71.81 kB / 0.8033 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0098, allocations: 0 / 0.8033 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.009801, allocations: 0 / 0.8033 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.0101, allocations: 0.7083 MB / 0.804 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.01057, allocations: 402.6 kB / 0.8044 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.103e-05/0.01061, allocations: 83.31 kB / 0.8045 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.265e-06/0.01062, allocations: 0.6875 kB / 0.8045 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.01066, allocations: 78.2 kB / 0.8046 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of SimCode: time 5.01e-07/0.01066, allocations: 0 / 0.8046 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of Templates: time 0.00422/0.01488, allocations: 2.812 MB / 0.8073 GB, free: 8.254 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.934346253983676]