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.0008773/0.0008773, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0008874/0.0008874, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.9315/0.9315, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.728/1.728, allocations: 359 MB / 0.6055 GB, free: 10.88 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.563e-06/1.563e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.839e-05, allocations: 5.641 kB / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001638/0.001657, allocations: 1.453 MB / 0.789 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.003066, allocations: 1.901 MB / 0.7908 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.003092, allocations: 4 kB / 0.7908 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006804/0.003773, allocations: 373 kB / 0.7912 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.634e-05/0.003809, allocations: 20.41 kB / 0.7912 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.465e-06/0.003811, allocations: 0.5938 kB / 0.7912 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.003977, allocations: 136.7 kB / 0.7913 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.004013, allocations: 5.688 kB / 0.7913 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.004077, allocations: 59.88 kB / 0.7914 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.784e-05/0.004155, allocations: 55.83 kB / 0.7914 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.004169, allocations: 5.094 kB / 0.7914 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.004408, allocations: 171.8 kB / 0.7916 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.004454, allocations: 40.64 kB / 0.7916 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.56e-05/0.0045, allocations: 43.92 kB / 0.7917 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.004773, allocations: 287.9 kB / 0.792 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.004774, allocations: 0 / 0.792 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004775, allocations: 0 / 0.792 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.004778, allocations: 1.438 kB / 0.792 GB, free: 7.691 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.0004404/0.005218, allocations: 0.5229 MB / 0.7925 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.005251, allocations: 8.594 kB / 0.7925 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.005344, allocations: 144 kB / 0.7926 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.005465, allocations: 272.5 kB / 0.7929 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/0.005513, allocations: 238.8 kB / 0.7931 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.005567, allocations: 242.8 kB / 0.7933 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.596e-05/0.005623, allocations: 150.1 kB / 0.7935 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.005649, allocations: 123.4 kB / 0.7936 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.005697, allocations: 248.4 kB / 0.7938 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/0.005742, allocations: 238.4 kB / 0.7941 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.005878, allocations: 242.4 kB / 0.7943 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.006105, allocations: 0.6075 MB / 0.7949 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.963e-05/0.006175, allocations: 265.4 kB / 0.7951 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.006203, allocations: 127.5 kB / 0.7953 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.006229, allocations: 123.2 kB / 0.7954 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.006266, allocations: 157.3 kB / 0.7955 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.006267, allocations: 1.219 kB / 0.7955 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.402e-05/0.006361, allocations: 45.61 kB / 0.7956 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.006406, allocations: 174.6 kB / 0.7957 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.006609, allocations: 371.9 kB / 0.7961 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.006618, allocations: 30.23 kB / 0.7961 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.00668, allocations: 176.3 kB / 0.7963 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.006682, allocations: 0 / 0.7963 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.006739, allocations: 87.28 kB / 0.7964 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.006853, allocations: 0.5127 MB / 0.7969 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.00688, allocations: 16 kB / 0.7969 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.006939, allocations: 109.5 kB / 0.797 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.00704, allocations: 154.2 kB / 0.7971 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.007042, allocations: 0.6562 kB / 0.7971 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002194/0.007262, allocations: 166.5 kB / 0.7973 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.007272, allocations: 8 kB / 0.7973 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.007277, allocations: 0 / 0.7973 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.007287, allocations: 5.062 kB / 0.7973 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.687e-06/0.00729, allocations: 0 / 0.7973 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.007297, allocations: 15.86 kB / 0.7973 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.007362, allocations: 36.52 kB / 0.7974 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.007368, allocations: 0 / 0.7974 GB, free: 1.906 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 9.547e-05/0.007463, allocations: 282 kB / 0.7976 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.007512, allocations: 164.8 kB / 0.7978 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.007554, allocations: 161.6 kB / 0.7979 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.098e-05/0.007605, allocations: 268.1 kB / 0.7982 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-05/0.007657, allocations: 272 kB / 0.7985 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-05/0.007709, allocations: 270.8 kB / 0.7987 GB, free: 492 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.007888, allocations: 0.516 MB / 0.7992 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.77e-05/0.007915, allocations: 144.9 kB / 0.7994 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.007944, allocations: 145 kB / 0.7995 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.167e-05/0.007996, allocations: 276 kB / 0.7998 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/0.008048, allocations: 268.1 kB / 0.8 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.334e-05/0.008101, allocations: 276 kB / 0.8003 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.202e-05/0.008153, allocations: 265.6 kB / 0.8005 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.008271, allocations: 463.8 kB / 0.801 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.008321, allocations: 164.8 kB / 0.8011 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.008482, allocations: 268 kB / 0.8014 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.008555, allocations: 153.4 kB / 0.8015 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.00861, allocations: 268.1 kB / 0.8018 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.008639, allocations: 149.4 kB / 0.8019 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.464e-05/0.008724, allocations: 214 kB / 0.8021 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.008724, allocations: 0 / 0.8021 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002007/0.008925, allocations: 63.94 kB / 0.8022 GB, free: 12.78 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.0002123/0.009137, allocations: 340.6 kB / 0.8025 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 9.132e-05/0.009228, allocations: 68.19 kB / 0.8026 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.00923, allocations: 0 / 0.8026 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.009231, allocations: 4.062 kB / 0.8026 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.009519, allocations: 0.7121 MB / 0.8033 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/0.009963, allocations: 398.6 kB / 0.8037 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.01, allocations: 83.31 kB / 0.8037 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.045e-06/0.01001, allocations: 256 / 0.8037 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.01005, allocations: 78.19 kB / 0.8038 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of SimCode: time 6.61e-07/0.01005, allocations: 0 / 0.8038 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of Templates: time 0.003972/0.01402, allocations: 2.795 MB / 0.8065 GB, free: 8.27 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.779264586046338]