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.001523/0.001523, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001613/0.001613, allocations: 165 kB / 23.82 MB, free: 0.7422 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 1.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.876/1.876, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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.303e-06/1.303e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.748e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001679/0.001696, allocations: 1.468 MB / 0.7885 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.003221, allocations: 1.916 MB / 0.7904 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.003247, allocations: 1.531 kB / 0.7904 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007436/0.003991, allocations: 360.5 kB / 0.7907 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.252e-05/0.004033, allocations: 27.78 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.186e-06/0.004037, allocations: 4.719 kB / 0.7907 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.004224, allocations: 131.1 kB / 0.7909 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.004263, allocations: 11.33 kB / 0.7909 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.543e-05/0.004328, allocations: 59.81 kB / 0.7909 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.873e-05/0.004427, allocations: 51.89 kB / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.004441, allocations: 0 / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.004685, allocations: 177 kB / 0.7912 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.004726, allocations: 29.5 kB / 0.7912 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.004778, allocations: 51.84 kB / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.005082, allocations: 290.8 kB / 0.7915 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005084, allocations: 0 / 0.7915 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005085, allocations: 0 / 0.7915 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.00509, allocations: 5.938 kB / 0.7915 GB, free: 7.938 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.0005133/0.005604, allocations: 0.5113 MB / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.005642, allocations: 12.03 kB / 0.792 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.973e-05/0.005742, allocations: 144.6 kB / 0.7922 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.00589, allocations: 275 kB / 0.7924 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.005943, allocations: 243.3 kB / 0.7927 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.006003, allocations: 247.5 kB / 0.7929 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.381e-05/0.006057, allocations: 145.5 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.006084, allocations: 119.9 kB / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.006133, allocations: 246.5 kB / 0.7934 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.006182, allocations: 239.8 kB / 0.7936 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.971e-05/0.006232, allocations: 242.3 kB / 0.7938 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.0065, allocations: 0.6538 MB / 0.7945 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.168e-05/0.006572, allocations: 262 kB / 0.7947 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.006604, allocations: 130.9 kB / 0.7949 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.006628, allocations: 124.6 kB / 0.795 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.006666, allocations: 152.6 kB / 0.7951 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.006667, allocations: 0 / 0.7951 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001034/0.00677, allocations: 54.69 kB / 0.7952 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.006816, allocations: 174.5 kB / 0.7953 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.007037, allocations: 368.1 kB / 0.7957 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.007047, allocations: 27.05 kB / 0.7957 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.007112, allocations: 175.2 kB / 0.7959 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.007114, allocations: 0 / 0.7959 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.007172, allocations: 87.33 kB / 0.796 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.007296, allocations: 0.5096 MB / 0.7965 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.007332, allocations: 24 kB / 0.7965 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.258e-05/0.007404, allocations: 117.5 kB / 0.7966 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.007522, allocations: 161.7 kB / 0.7968 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.007525, allocations: 4 kB / 0.7968 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002649/0.00779, allocations: 186.3 kB / 0.7969 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.007801, allocations: 5.344 kB / 0.7969 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.007807, allocations: 4 kB / 0.7969 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.007821, allocations: 0 / 0.7969 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-06/0.007828, allocations: 11.92 kB / 0.797 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.007833, allocations: 4.594 kB / 0.797 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.811e-05/0.007901, allocations: 31.67 kB / 0.797 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.007908, allocations: 4.531 kB / 0.797 GB, free: 2.066 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.745e-05/0.008005, allocations: 285.6 kB / 0.7973 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.00806, allocations: 168.7 kB / 0.7974 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.008105, allocations: 153.7 kB / 0.7976 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-05/0.008166, allocations: 268.9 kB / 0.7978 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.713e-05/0.008243, allocations: 276.1 kB / 0.7981 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.593e-05/0.008329, allocations: 272 kB / 0.7984 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.008524, allocations: 0.554 MB / 0.7989 GB, free: 40 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.931e-05/0.008563, allocations: 144.9 kB / 0.799 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.008596, allocations: 153 kB / 0.7992 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/0.008715, allocations: 272.1 kB / 0.7994 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.008768, allocations: 268 kB / 0.7997 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.447e-05/0.008822, allocations: 264.1 kB / 0.7999 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.474e-05/0.008877, allocations: 276.1 kB / 0.8002 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.009, allocations: 455.8 kB / 0.8006 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.009054, allocations: 172.7 kB / 0.8008 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.00926, allocations: 264.7 kB / 0.8011 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.009335, allocations: 152.9 kB / 0.8012 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.0094, allocations: 272.5 kB / 0.8015 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.009432, allocations: 150.7 kB / 0.8016 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001158/0.009547, allocations: 217.1 kB / 0.8018 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.009547, allocations: 0 / 0.8018 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002231/0.009771, allocations: 63.92 kB / 0.8019 GB, free: 12.88 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.0002354/0.01001, allocations: 329.2 kB / 0.8022 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001161/0.01012, allocations: 76.67 kB / 0.8023 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01012, allocations: 0 / 0.8023 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.01012, allocations: 1.312 kB / 0.8023 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.01042, allocations: 0.7087 MB / 0.803 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.01093, allocations: 410.5 kB / 0.8034 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.547e-05/0.01097, allocations: 84.66 kB / 0.8034 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.066e-05/0.01098, allocations: 8.188 kB / 0.8034 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.011, allocations: 8.5 kB / 0.8034 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of SimCode: time 4.9e-07/0.011, allocations: 4.594 kB / 0.8035 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of Templates: time 0.004186/0.01519, allocations: 2.304 MB / 0.8057 GB, free: 8.934 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: 5.291378036141396]