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.001029/0.001029, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001122/0.001122, allocations: 172.3 kB / 24.87 MB, free: 8.879 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.9119/0.9119, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.722/1.722, allocations: 359 MB / 0.6063 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.202e-06/1.202e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.041e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001818/0.001838, allocations: 1.472 MB / 0.7897 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.00383, allocations: 2.598 MB / 0.7923 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.003858, allocations: 5.5 kB / 0.7923 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009265/0.004784, allocations: 0.567 MB / 0.7928 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.925e-05/0.004824, allocations: 23.91 kB / 0.7928 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.076e-06/0.004827, allocations: 0 / 0.7928 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.005008, allocations: 174.8 kB / 0.793 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.00505, allocations: 12.59 kB / 0.793 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.795e-05/0.005128, allocations: 80.36 kB / 0.7931 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.005217, allocations: 64.55 kB / 0.7932 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.005229, allocations: 3.938 kB / 0.7932 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000607/0.005836, allocations: 407.5 kB / 0.7935 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.00588, allocations: 35.84 kB / 0.7936 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.005938, allocations: 63.8 kB / 0.7936 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.006332, allocations: 431.3 kB / 0.7941 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.006334, allocations: 0 / 0.7941 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.51e-07/0.006334, allocations: 0 / 0.7941 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.006338, allocations: 1.375 kB / 0.7941 GB, free: 6.32 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.0004804/0.006818, allocations: 0.5966 MB / 0.7946 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.006848, allocations: 9.781 kB / 0.7946 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.737e-05/0.006945, allocations: 152 kB / 0.7948 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.007079, allocations: 282.5 kB / 0.7951 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.007133, allocations: 246.7 kB / 0.7953 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.007183, allocations: 243.6 kB / 0.7955 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.976e-05/0.007233, allocations: 153.4 kB / 0.7957 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.007259, allocations: 119.4 kB / 0.7958 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.007305, allocations: 240.3 kB / 0.796 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/0.00735, allocations: 238.8 kB / 0.7962 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.007398, allocations: 242.3 kB / 0.7965 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.007647, allocations: 0.627 MB / 0.7971 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.592e-05/0.007723, allocations: 278.4 kB / 0.7974 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.00775, allocations: 126.9 kB / 0.7975 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.007774, allocations: 126.5 kB / 0.7976 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.007812, allocations: 152.6 kB / 0.7977 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.007813, allocations: 0 / 0.7977 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 9.989e-05/0.007913, allocations: 57.5 kB / 0.7978 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.007961, allocations: 174.6 kB / 0.798 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.008232, allocations: 482.2 kB / 0.7984 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.008241, allocations: 25.7 kB / 0.7984 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.008318, allocations: 199.3 kB / 0.7986 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.00832, allocations: 0 / 0.7986 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.523e-05/0.008405, allocations: 131.7 kB / 0.7988 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.008533, allocations: 0.5331 MB / 0.7993 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.008566, allocations: 28.66 kB / 0.7993 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.199e-05/0.008648, allocations: 133.7 kB / 0.7994 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.008786, allocations: 209.4 kB / 0.7996 GB, free: 356 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.008789, allocations: 4 kB / 0.7996 GB, free: 352 kB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002794/0.009068, allocations: 251.4 kB / 0.7999 GB, free: 96 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.009081, allocations: 4 kB / 0.7999 GB, free: 92 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.009088, allocations: 4 kB / 0.7999 GB, free: 88 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/0.009096, allocations: 0 / 0.7999 GB, free: 88 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.256e-06/0.009099, allocations: 7.938 kB / 0.7999 GB, free: 80 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.009102, allocations: 0 / 0.7999 GB, free: 80 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.314e-05/0.009185, allocations: 48.42 kB / 0.7999 GB, free: 32 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.009192, allocations: 7.922 kB / 0.7999 GB, free: 24 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.0001124/0.009305, allocations: 284.6 kB / 0.8002 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.009362, allocations: 170 kB / 0.8004 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.009403, allocations: 150.8 kB / 0.8005 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001207/0.009523, allocations: 272.1 kB / 0.8008 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.993e-05/0.009573, allocations: 268 kB / 0.801 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.002e-05/0.009623, allocations: 264.7 kB / 0.8013 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.009813, allocations: 0.5382 MB / 0.8018 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/0.009843, allocations: 148.9 kB / 0.802 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.009872, allocations: 144.9 kB / 0.8021 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.175e-05/0.009923, allocations: 276 kB / 0.8024 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.009974, allocations: 264.1 kB / 0.8026 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.011e-05/0.01002, allocations: 272 kB / 0.8029 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.178e-05/0.01008, allocations: 268.1 kB / 0.8031 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.0102, allocations: 475.6 kB / 0.8036 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.01025, allocations: 171.1 kB / 0.8037 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.01033, allocations: 280 kB / 0.804 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.01041, allocations: 145.2 kB / 0.8042 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.01047, allocations: 272 kB / 0.8044 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.01051, allocations: 152.9 kB / 0.8046 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001188/0.01062, allocations: 255 kB / 0.8048 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01062, allocations: 0.9688 kB / 0.8048 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002602/0.01089, allocations: 87.86 kB / 0.8049 GB, free: 10.79 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.000279/0.01116, allocations: 361.9 kB / 0.8052 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.01128, allocations: 93.2 kB / 0.8053 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01128, allocations: 4.125 kB / 0.8053 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.01128, allocations: 3.938 kB / 0.8053 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.01159, allocations: 0.717 MB / 0.806 GB, free: 9.613 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.01212, allocations: 498.9 kB / 0.8065 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.84e-05/0.01217, allocations: 95.3 kB / 0.8066 GB, free: 8.98 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.049e-05/0.01218, allocations: 4.234 kB / 0.8066 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.01222, allocations: 74.2 kB / 0.8067 GB, free: 8.902 MB / 0.7605 GB Notification: Performance of SimCode: time 5.01e-07/0.01222, allocations: 4 kB / 0.8067 GB, free: 8.898 MB / 0.7605 GB Notification: Performance of Templates: time 0.005853/0.01807, allocations: 4.42 MB / 0.811 GB, free: 4.5 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.897278152871877]