Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.0008461/0.0008461, allocations: 82.64 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.001046/0.001046, allocations: 185 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.9341/0.9341, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.743/1.743, 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_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0.6562 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.025e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00185/0.00187, allocations: 1.474 MB / 0.789 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002202/0.004072, allocations: 2.609 MB / 0.7915 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.004102, allocations: 0 / 0.7915 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.005355, allocations: 0.5662 MB / 0.7921 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.005407, allocations: 27.91 kB / 0.7921 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.765e-06/0.00541, allocations: 1.375 kB / 0.7921 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.005596, allocations: 166.8 kB / 0.7923 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.005642, allocations: 16.58 kB / 0.7923 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.005716, allocations: 75.8 kB / 0.7923 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.005806, allocations: 69.52 kB / 0.7924 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.005818, allocations: 7.938 kB / 0.7924 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006219/0.00644, allocations: 398.9 kB / 0.7928 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.006494, allocations: 43.77 kB / 0.7928 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.267e-05/0.006577, allocations: 51.88 kB / 0.7929 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.007035, allocations: 436.4 kB / 0.7933 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.007037, allocations: 0 / 0.7933 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.007038, allocations: 0 / 0.7933 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.007042, allocations: 0 / 0.7933 GB, free: 6.332 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.0005238/0.007566, allocations: 0.5973 MB / 0.7939 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.0076, allocations: 8.031 kB / 0.7939 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.007706, allocations: 144.5 kB / 0.794 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.007852, allocations: 292.1 kB / 0.7943 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.515e-05/0.007917, allocations: 242.8 kB / 0.7945 GB, free: 5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/0.007975, allocations: 246.8 kB / 0.7948 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.611e-05/0.008031, allocations: 149.4 kB / 0.7949 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.008057, allocations: 119.4 kB / 0.795 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.914e-05/0.008107, allocations: 239.3 kB / 0.7953 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.971e-05/0.008156, allocations: 240.1 kB / 0.7955 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.008212, allocations: 246.3 kB / 0.7957 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.008499, allocations: 0.627 MB / 0.7963 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.008583, allocations: 277.4 kB / 0.7966 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.008615, allocations: 127.8 kB / 0.7967 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.008641, allocations: 119.2 kB / 0.7968 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.008684, allocations: 157.4 kB / 0.797 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.008685, allocations: 0 / 0.797 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001147/0.0088, allocations: 58.78 kB / 0.797 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.00885, allocations: 170.6 kB / 0.7972 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.009138, allocations: 482.2 kB / 0.7977 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.009147, allocations: 26.33 kB / 0.7977 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.009228, allocations: 199.3 kB / 0.7979 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.00923, allocations: 4.781 kB / 0.7979 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/0.009324, allocations: 127.2 kB / 0.798 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.009493, allocations: 0.5328 MB / 0.7985 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.472e-05/0.009538, allocations: 32.66 kB / 0.7986 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.406e-05/0.009632, allocations: 133.7 kB / 0.7987 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.009799, allocations: 209.4 kB / 0.7989 GB, free: 372 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.009801, allocations: 0 / 0.7989 GB, free: 372 kB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0003108/0.01011, allocations: 246.1 kB / 0.7991 GB, free: 120 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.01013, allocations: 8.625 kB / 0.7991 GB, free: 112 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01014, allocations: 3.406 kB / 0.7991 GB, free: 112 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01015, allocations: 4 kB / 0.7991 GB, free: 108 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.95e-06/0.01015, allocations: 3.938 kB / 0.7991 GB, free: 104 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.01016, allocations: 4 kB / 0.7991 GB, free: 100 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/0.01025, allocations: 43.52 kB / 0.7992 GB, free: 56 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.01026, allocations: 11.92 kB / 0.7992 GB, free: 44 kB / 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.0001318/0.01039, allocations: 287.7 kB / 0.7995 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.01045, allocations: 169.2 kB / 0.7996 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.0105, allocations: 159.4 kB / 0.7998 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.624e-05/0.01055, allocations: 268.1 kB / 0.8 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.677e-05/0.01061, allocations: 269.5 kB / 0.8003 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.434e-05/0.01067, allocations: 268.1 kB / 0.8006 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.01087, allocations: 0.5316 MB / 0.8011 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.01091, allocations: 144.9 kB / 0.8012 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.01094, allocations: 153.6 kB / 0.8014 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.444e-05/0.01101, allocations: 269.4 kB / 0.8016 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/0.01107, allocations: 268.1 kB / 0.8019 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.587e-05/0.01113, allocations: 272 kB / 0.8021 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.457e-05/0.01118, allocations: 264.1 kB / 0.8024 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.01131, allocations: 472.4 kB / 0.8028 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.01137, allocations: 176.7 kB / 0.803 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.01145, allocations: 272.7 kB / 0.8033 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.01153, allocations: 149.2 kB / 0.8034 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.01159, allocations: 274.8 kB / 0.8037 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.01163, allocations: 148.9 kB / 0.8038 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001406/0.01177, allocations: 255 kB / 0.804 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01177, allocations: 0 / 0.804 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002655/0.01203, allocations: 87.81 kB / 0.8041 GB, free: 10.8 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.0003026/0.01234, allocations: 371.2 kB / 0.8045 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.01247, allocations: 92.89 kB / 0.8046 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01247, allocations: 0 / 0.8046 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.01247, allocations: 3.938 kB / 0.8046 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.01283, allocations: 0.7192 MB / 0.8053 GB, free: 9.613 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.01347, allocations: 499.3 kB / 0.8058 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.135e-05/0.01353, allocations: 99.28 kB / 0.8059 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.43e-05/0.01354, allocations: 4.25 kB / 0.8059 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.01359, allocations: 78.19 kB / 0.8059 GB, free: 8.895 MB / 0.7605 GB Notification: Performance of SimCode: time 8.62e-07/0.01359, allocations: 0 / 0.8059 GB, free: 8.895 MB / 0.7605 GB Notification: Performance of Templates: time 0.005854/0.01945, allocations: 4.39 MB / 0.8102 GB, free: 4.508 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.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: 5.022066643927246]