Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009801/0.0009801, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.00105/0.00105, allocations: 164.7 kB / 24.86 MB, free: 9.211 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.894/1.894, allocations: 377.9 MB / 0.6247 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.7656 kB / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.987e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001992/0.002012, allocations: 1.471 MB / 0.8142 GB, free: 0 / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002073/0.004085, allocations: 2.604 MB / 0.8167 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.004116, allocations: 4 kB / 0.8167 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.005131, allocations: 0.5626 MB / 0.8173 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.445e-05/0.005175, allocations: 28.7 kB / 0.8173 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.056e-06/0.005178, allocations: 0 / 0.8173 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.005388, allocations: 167.6 kB / 0.8175 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.005434, allocations: 8.594 kB / 0.8175 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.005514, allocations: 88.25 kB / 0.8176 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.005615, allocations: 65.2 kB / 0.8176 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.005627, allocations: 0 / 0.8176 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006749/0.006302, allocations: 410.8 kB / 0.818 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.006372, allocations: 31.86 kB / 0.8181 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.202e-05/0.006454, allocations: 64.64 kB / 0.8181 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005279/0.006982, allocations: 434.2 kB / 0.8185 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.006986, allocations: 0 / 0.8185 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.763e-06/0.006988, allocations: 1.281 kB / 0.8185 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.006994, allocations: 0 / 0.8185 GB, free: 11.56 MB / 0.7761 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.0006097/0.007604, allocations: 0.5934 MB / 0.8191 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.007637, allocations: 12.91 kB / 0.8191 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.007745, allocations: 144 kB / 0.8193 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.007898, allocations: 282.5 kB / 0.8195 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.007958, allocations: 252.3 kB / 0.8198 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.008012, allocations: 238.8 kB / 0.82 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.643e-05/0.008069, allocations: 153.4 kB / 0.8201 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.008101, allocations: 135.3 kB / 0.8203 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/0.008153, allocations: 239.8 kB / 0.8205 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001983/0.008351, allocations: 242.7 kB / 0.8207 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.967e-05/0.008401, allocations: 242.3 kB / 0.821 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.008662, allocations: 0.6263 MB / 0.8216 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.212e-05/0.008744, allocations: 269.4 kB / 0.8218 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.008776, allocations: 134.9 kB / 0.822 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.008802, allocations: 119.2 kB / 0.8221 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.008844, allocations: 152.6 kB / 0.8222 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.008845, allocations: 0 / 0.8222 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001106/0.008955, allocations: 53.52 kB / 0.8223 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.009006, allocations: 174.6 kB / 0.8224 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.009283, allocations: 482.7 kB / 0.8229 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.009293, allocations: 26.95 kB / 0.8229 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.009369, allocations: 199.3 kB / 0.8231 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.853e-06/0.009371, allocations: 0 / 0.8231 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.17e-05/0.009452, allocations: 127.2 kB / 0.8232 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.00959, allocations: 0.5323 MB / 0.8238 GB, free: 6.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.916e-05/0.00963, allocations: 36.64 kB / 0.8238 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.009719, allocations: 133.7 kB / 0.8239 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.009867, allocations: 206.1 kB / 0.8241 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.009869, allocations: 6.312 kB / 0.8241 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002984/0.01017, allocations: 241.2 kB / 0.8243 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.01018, allocations: 4 kB / 0.8244 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.01019, allocations: 4 kB / 0.8244 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.0102, allocations: 0 / 0.8244 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-06/0.01021, allocations: 11.92 kB / 0.8244 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.01021, allocations: 3.031 kB / 0.8244 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.349e-05/0.01031, allocations: 47.52 kB / 0.8244 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.01031, allocations: 3.938 kB / 0.8244 GB, free: 5.277 MB / 0.7761 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.0001175/0.01043, allocations: 286.6 kB / 0.8247 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.01049, allocations: 172.7 kB / 0.8249 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/0.01054, allocations: 154.8 kB / 0.825 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-05/0.0106, allocations: 269 kB / 0.8253 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.437e-05/0.01065, allocations: 268 kB / 0.8255 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-05/0.01071, allocations: 264.1 kB / 0.8258 GB, free: 3.848 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.01091, allocations: 0.5405 MB / 0.8263 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/0.01094, allocations: 144.9 kB / 0.8264 GB, free: 3.125 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.01097, allocations: 148.8 kB / 0.8266 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.809e-05/0.01103, allocations: 273.1 kB / 0.8268 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.01109, allocations: 268.1 kB / 0.8271 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.93e-05/0.01115, allocations: 280 kB / 0.8274 GB, free: 2.148 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.209e-05/0.01121, allocations: 269.1 kB / 0.8276 GB, free: 1.879 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.01148, allocations: 463.7 kB / 0.8281 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.01154, allocations: 172.7 kB / 0.8282 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/0.01161, allocations: 277.3 kB / 0.8285 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.0117, allocations: 144.9 kB / 0.8286 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.01175, allocations: 276 kB / 0.8289 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.01179, allocations: 149.9 kB / 0.829 GB, free: 376 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000118/0.0119, allocations: 251 kB / 0.8293 GB, free: 132 kB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0119, allocations: 0 / 0.8293 GB, free: 132 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002547/0.01216, allocations: 87.09 kB / 0.8294 GB, free: 48 kB / 0.7761 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.000294/0.01245, allocations: 370.1 kB / 0.8297 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.01258, allocations: 100.9 kB / 0.8298 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01258, allocations: 0 / 0.8298 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.01258, allocations: 3.938 kB / 0.8298 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.0129, allocations: 0.7154 MB / 0.8305 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.01342, allocations: 491.5 kB / 0.831 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.032e-05/0.01347, allocations: 99.28 kB / 0.8311 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.588e-06/0.01348, allocations: 0 / 0.8311 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.01352, allocations: 74.2 kB / 0.8311 GB, free: 14.15 MB / 0.7917 GB Notification: Performance of SimCode: time 5.81e-07/0.01352, allocations: 0 / 0.8311 GB, free: 14.15 MB / 0.7917 GB Notification: Performance of Templates: time 0.005987/0.01951, allocations: 4.417 MB / 0.8355 GB, free: 9.758 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.0854072901420295]