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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.871/2.871, allocations: 476.7 MB / 0.7634 GB, free: 15.19 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..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=500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.88 kB / 1.108 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.99/0.992, allocations: 168.7 MB / 1.272 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00235/0.9943, allocations: 1.407 MB / 1.274 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.9964, allocations: 1.947 MB / 1.276 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.9964, allocations: 0 / 1.276 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009849/0.9974, allocations: 394.9 kB / 1.276 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.561e-05/0.9974, allocations: 15.31 kB / 1.276 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.546e-06/0.9974, allocations: 4.688 kB / 1.276 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.9977, allocations: 133.7 kB / 1.276 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.09e-05/0.9977, allocations: 21.41 kB / 1.276 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.016e-05/0.9978, allocations: 39.08 kB / 1.276 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.9979, allocations: 63.55 kB / 1.276 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.9979, allocations: 2.156 kB / 1.276 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005299/0.9984, allocations: 185.8 kB / 1.276 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.9985, allocations: 37.92 kB / 1.276 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.112e-05/0.9986, allocations: 70.12 kB / 1.277 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.999, allocations: 289.1 kB / 1.277 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.999, allocations: 0.8438 kB / 1.277 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.999, allocations: 0 / 1.277 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.999, allocations: 0 / 1.277 GB, free: 5.117 MB / 0.9981 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.0006258/0.9997, allocations: 499.8 kB / 1.277 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.9997, allocations: 9.469 kB / 1.277 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.9998, allocations: 99.67 kB / 1.277 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/1, allocations: 293.6 kB / 1.278 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/1, allocations: 155.8 kB / 1.278 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/1, allocations: 153.4 kB / 1.278 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.843e-05/1, allocations: 109 kB / 1.278 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/1, allocations: 80.19 kB / 1.278 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/1, allocations: 150.6 kB / 1.278 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/1, allocations: 151.4 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.353e-05/1, allocations: 151.4 kB / 1.279 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/1, allocations: 0.5044 MB / 1.279 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/1, allocations: 174.2 kB / 1.279 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/1, allocations: 80.14 kB / 1.279 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/1, allocations: 76.8 kB / 1.279 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/1.001, allocations: 111.3 kB / 1.28 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/1.001, allocations: 0 / 1.28 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001599/1.001, allocations: 53.31 kB / 1.28 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/1.001, allocations: 131.7 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/1.001, allocations: 323.7 kB / 1.28 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/1.001, allocations: 25.7 kB / 1.28 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/1.001, allocations: 118 kB / 1.28 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/1.001, allocations: 0 / 1.28 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/1.001, allocations: 61.36 kB / 1.28 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.481e-05/1.001, allocations: 330.5 kB / 1.281 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.894e-05/1.001, allocations: 68.72 kB / 1.281 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/1.001, allocations: 117.3 kB / 1.281 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/1.002, allocations: 211.8 kB / 1.281 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/1.002, allocations: 4 kB / 1.281 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004035/1.002, allocations: 234.8 kB / 1.281 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.002, allocations: 12.14 kB / 1.281 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.002, allocations: 1.938 kB / 1.281 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.002, allocations: 1.875 kB / 1.281 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-06/1.002, allocations: 5.812 kB / 1.281 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/1.002, allocations: 2.625 kB / 1.281 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/1.002, allocations: 29.77 kB / 1.281 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/1.002, allocations: 7.562 kB / 1.281 GB, free: 1.191 MB / 0.9981 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.0001608/1.002, allocations: 228.8 kB / 1.281 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/1.002, allocations: 127.1 kB / 1.282 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/1.002, allocations: 110.1 kB / 1.282 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/1.002, allocations: 178.7 kB / 1.282 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.522e-05/1.002, allocations: 182.9 kB / 1.282 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.275e-05/1.003, allocations: 189 kB / 1.282 GB, free: 16.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/1.003, allocations: 452.5 kB / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.345e-05/1.003, allocations: 106 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/1.003, allocations: 108.3 kB / 1.283 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-05/1.003, allocations: 181.1 kB / 1.283 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.532e-05/1.003, allocations: 177.2 kB / 1.283 GB, free: 15.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.104e-05/1.003, allocations: 185.1 kB / 1.283 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.148e-05/1.003, allocations: 180.5 kB / 1.283 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/1.003, allocations: 316.6 kB / 1.284 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/1.004, allocations: 205.7 kB / 1.284 GB, free: 14.24 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/1.004, allocations: 188.1 kB / 1.284 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/1.004, allocations: 105.8 kB / 1.284 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/1.004, allocations: 181.2 kB / 1.284 GB, free: 13.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/1.004, allocations: 103 kB / 1.285 GB, free: 13.66 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002187/1.004, allocations: 216 kB / 1.285 GB, free: 13.55 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.004, allocations: 0 / 1.285 GB, free: 13.55 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003956/1.005, allocations: 63.95 kB / 1.285 GB, free: 13.54 MB / 1.014 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.0003688/1.005, allocations: 275.2 kB / 1.285 GB, free: 13.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001835/1.005, allocations: 80.31 kB / 1.285 GB, free: 13.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.005, allocations: 4.062 kB / 1.285 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/1.005, allocations: 0.9062 kB / 1.285 GB, free: 13.31 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/1.006, allocations: 465.5 kB / 1.286 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/1.006, allocations: 430.3 kB / 1.286 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/1.007, allocations: 0.7382 MB / 1.287 GB, free: 11.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/1.007, allocations: 9.281 kB / 1.287 GB, free: 11.84 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/1.007, allocations: 0.75 kB / 1.287 GB, free: 11.84 MB / 1.014 GB Notification: Performance of Templates: time 0.004567/1.011, allocations: 2.353 MB / 1.289 GB, free: 11.58 MB / 1.014 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches