Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001607/0.001607, allocations: 78.25 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001939/0.001939, allocations: 158.2 kB / 23.01 MB, free: 4.945 MB / 14.72 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.456/1.456, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.937/2.937, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_latest_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.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 67.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9723/0.9746, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002706/0.9773, allocations: 1.429 MB / 1.188 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003195/0.9805, allocations: 2.408 MB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.9805, allocations: 0 / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.9823, allocations: 0.5471 MB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.569e-05/0.9823, allocations: 21.2 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.779e-06/0.9823, allocations: 0 / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.9826, allocations: 154.8 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.9826, allocations: 11.39 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.9827, allocations: 72.3 kB / 1.191 GB, free: 13.28 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.9828, allocations: 77.97 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.9829, allocations: 2.219 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009162/0.9838, allocations: 413.1 kB / 1.192 GB, free: 13.16 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.9838, allocations: 31.64 kB / 1.192 GB, free: 13.15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.75e-05/0.9839, allocations: 81.89 kB / 1.192 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006149/0.9845, allocations: 433.4 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.9845, allocations: 0 / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9845, allocations: 0.9688 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.9846, allocations: 0 / 1.192 GB, free: 12.93 MB / 1.076 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.0006753/0.9852, allocations: 497.3 kB / 1.193 GB, free: 12.54 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.9853, allocations: 8.969 kB / 1.193 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.9854, allocations: 105.4 kB / 1.193 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.9856, allocations: 246.8 kB / 1.193 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.9856, allocations: 153.2 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.9856, allocations: 157.6 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.987e-05/0.9857, allocations: 102.8 kB / 1.193 GB, free: 11.81 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.9857, allocations: 75.47 kB / 1.193 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.9857, allocations: 156.6 kB / 1.194 GB, free: 11.58 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.9857, allocations: 151.7 kB / 1.194 GB, free: 11.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.9858, allocations: 155.6 kB / 1.194 GB, free: 11.28 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.986, allocations: 497 kB / 1.194 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.295e-05/0.9861, allocations: 167 kB / 1.194 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.9861, allocations: 80.7 kB / 1.195 GB, free: 10.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.9861, allocations: 76.25 kB / 1.195 GB, free: 10.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.9861, allocations: 108.9 kB / 1.195 GB, free: 10.38 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.9861, allocations: 7.875 kB / 1.195 GB, free: 10.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001588/0.9863, allocations: 58.64 kB / 1.195 GB, free: 10.32 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.9863, allocations: 128.4 kB / 1.195 GB, free: 10.19 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.9867, allocations: 432.2 kB / 1.195 GB, free: 9.977 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.9867, allocations: 29.7 kB / 1.195 GB, free: 9.941 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.9868, allocations: 139.4 kB / 1.195 GB, free: 9.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-06/0.9868, allocations: 1.094 kB / 1.195 GB, free: 9.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.583e-05/0.9869, allocations: 89.98 kB / 1.196 GB, free: 9.781 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/0.987, allocations: 343.7 kB / 1.196 GB, free: 9.453 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.9871, allocations: 98.31 kB / 1.196 GB, free: 9.418 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.9873, allocations: 169.1 kB / 1.196 GB, free: 9.312 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.9876, allocations: 297.7 kB / 1.196 GB, free: 9.168 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9876, allocations: 1.188 kB / 1.196 GB, free: 9.168 MB / 1.076 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005302/0.9881, allocations: 334 kB / 1.197 GB, free: 9.023 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.9881, allocations: 7.203 kB / 1.197 GB, free: 9.023 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.9882, allocations: 1.469 kB / 1.197 GB, free: 9.023 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.9882, allocations: 10.53 kB / 1.197 GB, free: 9.016 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.474e-06/0.9882, allocations: 1.812 kB / 1.197 GB, free: 9.016 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.9882, allocations: 2.859 kB / 1.197 GB, free: 9.016 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.9883, allocations: 41.88 kB / 1.197 GB, free: 8.984 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.9883, allocations: 4.219 kB / 1.197 GB, free: 8.984 MB / 1.076 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.0002197/0.9886, allocations: 247.3 kB / 1.197 GB, free: 8.781 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.9886, allocations: 128.7 kB / 1.197 GB, free: 8.656 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.9887, allocations: 116.7 kB / 1.197 GB, free: 8.543 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/0.9887, allocations: 186 kB / 1.197 GB, free: 8.355 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.77e-05/0.9887, allocations: 182.3 kB / 1.198 GB, free: 8.172 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/0.9887, allocations: 182 kB / 1.198 GB, free: 7.988 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.9889, allocations: 427.4 kB / 1.198 GB, free: 7.586 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/0.989, allocations: 103.2 kB / 1.198 GB, free: 7.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.989, allocations: 110.7 kB / 1.198 GB, free: 7.367 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.546e-05/0.989, allocations: 179.1 kB / 1.199 GB, free: 7.188 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.989, allocations: 181.9 kB / 1.199 GB, free: 7.004 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.6e-05/0.9891, allocations: 182 kB / 1.199 GB, free: 6.82 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-05/0.9891, allocations: 182.2 kB / 1.199 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.706e-05/0.9892, allocations: 324.6 kB / 1.199 GB, free: 6.309 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.9892, allocations: 138.9 kB / 1.2 GB, free: 6.176 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.9893, allocations: 191.2 kB / 1.2 GB, free: 5.984 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.9894, allocations: 103.2 kB / 1.2 GB, free: 5.879 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.9894, allocations: 186.5 kB / 1.2 GB, free: 5.691 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.9894, allocations: 107.2 kB / 1.2 GB, free: 5.582 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003062/0.9897, allocations: 279.6 kB / 1.2 GB, free: 5.449 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9897, allocations: 0 / 1.2 GB, free: 5.449 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004496/0.9902, allocations: 87.86 kB / 1.2 GB, free: 5.438 MB / 1.076 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.0003888/0.9906, allocations: 297.7 kB / 1.201 GB, free: 5.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.9908, allocations: 123.3 kB / 1.201 GB, free: 5.188 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.9908, allocations: 4.062 kB / 1.201 GB, free: 5.184 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.9908, allocations: 1.156 kB / 1.201 GB, free: 5.184 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.9912, allocations: 464.8 kB / 1.201 GB, free: 4.73 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/0.9918, allocations: 0.4999 MB / 1.202 GB, free: 4.406 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.992, allocations: 172.6 kB / 1.202 GB, free: 4.32 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.869e-05/0.992, allocations: 2.812 kB / 1.202 GB, free: 4.32 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.992, allocations: 10.75 kB / 1.202 GB, free: 4.312 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.992, allocations: 0.9375 kB / 1.202 GB, free: 4.312 MB / 1.076 GB Notification: Performance of Templates: time 0.008869/1.001, allocations: 3.021 MB / 1.205 GB, free: 3.914 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.002805483993143]