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.001144/0.001144, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009896/0.0009896, allocations: 161 kB / 23.82 MB, free: 0.75 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.9439/0.9439, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.701/1.701, allocations: 359 MB / 0.6052 GB, free: 11.03 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.673e-06/1.673e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.994e-05/3.161e-05, allocations: 9.062 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002779/0.00281, allocations: 1.453 MB / 0.7885 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.00559, allocations: 1.927 MB / 0.7904 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.005625, allocations: 1.594 kB / 0.7904 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.006949, allocations: 369.2 kB / 0.7907 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.806e-05/0.007007, allocations: 19.86 kB / 0.7908 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.506e-06/0.00701, allocations: 0 / 0.7908 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.007256, allocations: 135.1 kB / 0.7909 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.007305, allocations: 6.406 kB / 0.7909 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.276e-05/0.007398, allocations: 63.8 kB / 0.7909 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.007515, allocations: 48.59 kB / 0.791 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.007534, allocations: 4.5 kB / 0.791 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.007935, allocations: 184.9 kB / 0.7912 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.007993, allocations: 27.91 kB / 0.7912 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.298e-05/0.008066, allocations: 44.41 kB / 0.7912 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.008509, allocations: 294.8 kB / 0.7915 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.008513, allocations: 1.25 kB / 0.7915 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.553e-06/0.008514, allocations: 0 / 0.7915 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.008521, allocations: 7.938 kB / 0.7915 GB, free: 7.953 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.0006925/0.009213, allocations: 0.5123 MB / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.009255, allocations: 12.97 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.009417, allocations: 140 kB / 0.7922 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.009627, allocations: 275.1 kB / 0.7924 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/0.009699, allocations: 247.6 kB / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.009769, allocations: 242.8 kB / 0.7929 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.217e-05/0.009842, allocations: 146.5 kB / 0.793 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/0.009878, allocations: 119.4 kB / 0.7932 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.574e-05/0.009944, allocations: 246.5 kB / 0.7934 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.32e-05/0.01001, allocations: 240.6 kB / 0.7936 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.494e-05/0.01007, allocations: 238.4 kB / 0.7939 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.01046, allocations: 0.6538 MB / 0.7945 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.992e-05/0.01056, allocations: 269.4 kB / 0.7947 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.009e-05/0.0106, allocations: 126.9 kB / 0.7949 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.01063, allocations: 123.2 kB / 0.795 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.01068, allocations: 159.5 kB / 0.7951 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.943e-06/0.01068, allocations: 0 / 0.7951 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.000161/0.01084, allocations: 49.55 kB / 0.7952 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.01091, allocations: 174.5 kB / 0.7954 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.01124, allocations: 368.1 kB / 0.7957 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.01125, allocations: 29.69 kB / 0.7957 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.387e-05/0.01135, allocations: 175.2 kB / 0.7959 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-06/0.01135, allocations: 1.5 kB / 0.7959 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.198e-05/0.01144, allocations: 87.34 kB / 0.796 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.0116, allocations: 0.5079 MB / 0.7965 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.235e-05/0.01165, allocations: 24 kB / 0.7965 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.569e-05/0.01174, allocations: 110.2 kB / 0.7966 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.01191, allocations: 169.7 kB / 0.7968 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01192, allocations: 0.5625 kB / 0.7968 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002795/0.0122, allocations: 182 kB / 0.7969 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01221, allocations: 4.719 kB / 0.7969 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01222, allocations: 7.938 kB / 0.797 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.01223, allocations: 1.219 kB / 0.797 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-06/0.01224, allocations: 11.88 kB / 0.797 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01224, allocations: 0 / 0.797 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.01232, allocations: 32.52 kB / 0.797 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.01233, allocations: 7.984 kB / 0.797 GB, free: 2.086 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.0001053/0.01243, allocations: 281.5 kB / 0.7973 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.01249, allocations: 172.7 kB / 0.7974 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.01253, allocations: 157.7 kB / 0.7976 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-05/0.01259, allocations: 272 kB / 0.7979 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.648e-05/0.01264, allocations: 272.7 kB / 0.7981 GB, free: 0.9219 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.006e-05/0.0127, allocations: 268.9 kB / 0.7984 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.01298, allocations: 0.5506 MB / 0.7989 GB, free: 60 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.389e-05/0.01303, allocations: 145.9 kB / 0.799 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.01307, allocations: 157 kB / 0.7992 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-05/0.01315, allocations: 272.1 kB / 0.7995 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.472e-05/0.01322, allocations: 265.3 kB / 0.7997 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.336e-05/0.0133, allocations: 272 kB / 0.8 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-05/0.01337, allocations: 268.1 kB / 0.8002 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.01355, allocations: 460.6 kB / 0.8007 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/0.01362, allocations: 164.8 kB / 0.8008 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.01373, allocations: 277.3 kB / 0.8011 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.01386, allocations: 148.9 kB / 0.8012 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.01394, allocations: 272 kB / 0.8015 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.01398, allocations: 144.9 kB / 0.8016 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001831/0.01416, allocations: 228.9 kB / 0.8018 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01416, allocations: 0 / 0.8018 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003725/0.01453, allocations: 55.94 kB / 0.8019 GB, free: 12.9 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.0004373/0.01497, allocations: 327 kB / 0.8022 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.01516, allocations: 76.69 kB / 0.8023 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.01516, allocations: 0 / 0.8023 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.318e-06/0.01516, allocations: 4.594 kB / 0.8023 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.01569, allocations: 0.7093 MB / 0.803 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009663/0.01665, allocations: 408.3 kB / 0.8034 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.099e-05/0.01673, allocations: 83.3 kB / 0.8034 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.987e-05/0.01675, allocations: 4.25 kB / 0.8034 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.01679, allocations: 12.44 kB / 0.8035 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of SimCode: time 1.382e-06/0.01679, allocations: 0 / 0.8035 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of Templates: time 0.008725/0.02551, allocations: 3.24 MB / 0.8066 GB, free: 8.012 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.780434706714004]