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.001538/0.001538, 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.001784/0.001784, 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.9342/0.9342, allocations: 177.2 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.689/1.689, allocations: 359 MB / 0.6052 GB, free: 11 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.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.869e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002101/0.002129, allocations: 1.487 MB / 0.7885 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002545/0.004675, allocations: 2.639 MB / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.004703, allocations: 0 / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.005965, allocations: 0.5623 MB / 0.7916 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.765e-05/0.006012, allocations: 24.88 kB / 0.7917 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.276e-06/0.006016, allocations: 0 / 0.7917 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.006225, allocations: 172.1 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.006266, allocations: 12.59 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.006348, allocations: 83.77 kB / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.006448, allocations: 60.72 kB / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.006461, allocations: 4 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000665/0.007126, allocations: 407 kB / 0.7924 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.00718, allocations: 40.88 kB / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.822e-05/0.007268, allocations: 55.86 kB / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004945/0.007762, allocations: 438.1 kB / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.007765, allocations: 0.5312 kB / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.513e-06/0.007767, allocations: 0 / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.007772, allocations: 1.281 kB / 0.7929 GB, free: 6.547 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.0005927/0.008365, allocations: 0.59 MB / 0.7935 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.008403, allocations: 8.031 kB / 0.7935 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.008523, allocations: 144 kB / 0.7936 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.008691, allocations: 299.3 kB / 0.7939 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/0.008746, allocations: 242.8 kB / 0.7941 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.008802, allocations: 242.8 kB / 0.7944 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.529e-05/0.008857, allocations: 146.3 kB / 0.7945 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.008884, allocations: 119.4 kB / 0.7946 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.008937, allocations: 243.7 kB / 0.7948 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.058e-05/0.008987, allocations: 238.8 kB / 0.7951 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.938e-05/0.009037, allocations: 243.5 kB / 0.7953 GB, free: 4 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.009344, allocations: 0.6966 MB / 0.796 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.009662, allocations: 265.5 kB / 0.7962 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.009694, allocations: 131.7 kB / 0.7964 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.00972, allocations: 119.2 kB / 0.7965 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.009758, allocations: 152.6 kB / 0.7966 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.724e-06/0.009759, allocations: 6.203 kB / 0.7966 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001155/0.009875, allocations: 61.45 kB / 0.7967 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.009928, allocations: 174.6 kB / 0.7969 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.01025, allocations: 482.4 kB / 0.7973 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.01026, allocations: 29.7 kB / 0.7973 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.01034, allocations: 198.2 kB / 0.7975 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.01034, allocations: 0 / 0.7975 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-05/0.01044, allocations: 123.3 kB / 0.7977 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.01058, allocations: 0.5235 MB / 0.7982 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.288e-05/0.01063, allocations: 44.64 kB / 0.7982 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.505e-05/0.01073, allocations: 141.7 kB / 0.7983 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.01089, allocations: 237.4 kB / 0.7986 GB, free: 484 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.0109, allocations: 0 / 0.7986 GB, free: 484 kB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000337/0.01123, allocations: 274.5 kB / 0.7988 GB, free: 204 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01124, allocations: 4 kB / 0.7988 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.01125, allocations: 8 kB / 0.7988 GB, free: 192 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.01127, allocations: 0.625 kB / 0.7988 GB, free: 192 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.937e-06/0.01127, allocations: 4 kB / 0.7988 GB, free: 188 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.01128, allocations: 0.5625 kB / 0.7988 GB, free: 188 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.01138, allocations: 51.45 kB / 0.7989 GB, free: 136 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.01138, allocations: 4.562 kB / 0.7989 GB, free: 132 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.0001198/0.0115, allocations: 289.6 kB / 0.7992 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.01156, allocations: 164.8 kB / 0.7993 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.0116, allocations: 154.8 kB / 0.7995 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.234e-05/0.01166, allocations: 276 kB / 0.7997 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.484e-05/0.01171, allocations: 265.2 kB / 0.8 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.266e-05/0.01177, allocations: 276 kB / 0.8003 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.012, allocations: 0.5786 MB / 0.8008 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/0.01204, allocations: 148.9 kB / 0.801 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.01207, allocations: 154.1 kB / 0.8011 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.488e-05/0.01213, allocations: 268.1 kB / 0.8014 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/0.01218, allocations: 268 kB / 0.8016 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-05/0.01224, allocations: 264.1 kB / 0.8019 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.824e-05/0.0123, allocations: 271.8 kB / 0.8021 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.01244, allocations: 471.7 kB / 0.8026 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.01249, allocations: 172.6 kB / 0.8027 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.01257, allocations: 276.1 kB / 0.803 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.01265, allocations: 145.2 kB / 0.8032 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/0.01296, allocations: 268 kB / 0.8034 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.01299, allocations: 156.9 kB / 0.8036 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001542/0.01315, allocations: 263.1 kB / 0.8038 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01315, allocations: 0 / 0.8038 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002799/0.01343, allocations: 95.8 kB / 0.8039 GB, free: 10.82 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.0003196/0.01375, allocations: 347.3 kB / 0.8042 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001614/0.01391, allocations: 121 kB / 0.8043 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01391, allocations: 0 / 0.8043 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.01391, allocations: 0 / 0.8043 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.01425, allocations: 0.7134 MB / 0.805 GB, free: 9.641 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.01488, allocations: 0.4887 MB / 0.8055 GB, free: 9.121 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.07e-05/0.01493, allocations: 95.28 kB / 0.8056 GB, free: 9.008 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.299e-05/0.01494, allocations: 8.234 kB / 0.8056 GB, free: 9 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.01496, allocations: 12.75 kB / 0.8056 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of SimCode: time 6.31e-07/0.01497, allocations: 0 / 0.8056 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of Templates: time 0.006306/0.02127, allocations: 4.366 MB / 0.8099 GB, free: 4.645 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: 4.872818483971059]