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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 112.1 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.017/3.017, allocations: 489.3 MB / 0.7687 GB, free: 3.727 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 1.103 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 163.8 MB / 1.263 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002624/1.054, allocations: 1.431 MB / 1.264 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003002/1.057, allocations: 2.674 MB / 1.267 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/1.057, allocations: 0 / 1.267 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/1.059, allocations: 0.5802 MB / 1.267 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.586e-05/1.059, allocations: 17.78 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.147e-06/1.059, allocations: 0 / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/1.059, allocations: 158.5 kB / 1.267 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.131e-05/1.06, allocations: 33.58 kB / 1.267 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.979e-05/1.06, allocations: 64.66 kB / 1.267 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/1.06, allocations: 76.23 kB / 1.267 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/1.06, allocations: 2.594 kB / 1.267 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/1.061, allocations: 473.7 kB / 1.268 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/1.061, allocations: 33.2 kB / 1.268 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/1.061, allocations: 97.11 kB / 1.268 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007642/1.062, allocations: 438 kB / 1.268 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.062, allocations: 0.8125 kB / 1.268 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.003e-06/1.062, allocations: 0 / 1.268 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.062, allocations: 0 / 1.268 GB, free: 4.473 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.0007432/1.063, allocations: 0.5583 MB / 1.269 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.063, allocations: 10.42 kB / 1.269 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/1.063, allocations: 105 kB / 1.269 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/1.063, allocations: 307.9 kB / 1.269 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/1.063, allocations: 151.9 kB / 1.27 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/1.063, allocations: 154 kB / 1.27 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.105e-05/1.063, allocations: 105.5 kB / 1.27 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/1.063, allocations: 76.38 kB / 1.27 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/1.063, allocations: 159 kB / 1.27 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/1.063, allocations: 159.5 kB / 1.27 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.191e-05/1.063, allocations: 152.1 kB / 1.27 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/1.064, allocations: 0.535 MB / 1.271 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.729e-05/1.064, allocations: 173.8 kB / 1.271 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/1.064, allocations: 84.95 kB / 1.271 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/1.064, allocations: 76.08 kB / 1.271 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/1.064, allocations: 107.2 kB / 1.271 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/1.064, allocations: 0 / 1.271 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001711/1.064, allocations: 59.89 kB / 1.271 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/1.064, allocations: 127.4 kB / 1.271 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/1.065, allocations: 440.1 kB / 1.272 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/1.065, allocations: 29.7 kB / 1.272 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/1.065, allocations: 135.5 kB / 1.272 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/1.065, allocations: 0 / 1.272 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/1.065, allocations: 89.5 kB / 1.272 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/1.065, allocations: 340 kB / 1.272 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/1.065, allocations: 99.09 kB / 1.273 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/1.065, allocations: 166.2 kB / 1.273 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/1.065, allocations: 308.5 kB / 1.273 GB, free: 464 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.065, allocations: 1.484 kB / 1.273 GB, free: 464 kB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005613/1.066, allocations: 326.6 kB / 1.273 GB, free: 324 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.066, allocations: 6.828 kB / 1.273 GB, free: 324 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/1.066, allocations: 10.03 kB / 1.273 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.066, allocations: 5.969 kB / 1.273 GB, free: 312 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.608e-06/1.066, allocations: 2.391 kB / 1.273 GB, free: 312 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.066, allocations: 7.094 kB / 1.273 GB, free: 308 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/1.066, allocations: 43.95 kB / 1.273 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/1.066, allocations: 4.75 kB / 1.273 GB, free: 272 kB / 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.0002141/1.067, allocations: 242.4 kB / 1.274 GB, free: 68 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/1.067, allocations: 129 kB / 1.274 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-05/1.067, allocations: 123.5 kB / 1.274 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.962e-05/1.067, allocations: 177.8 kB / 1.274 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.228e-05/1.067, allocations: 183 kB / 1.274 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.008e-05/1.067, allocations: 176.9 kB / 1.274 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/1.067, allocations: 481.1 kB / 1.275 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001145/1.068, allocations: 103.6 kB / 1.275 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.75e-05/1.068, allocations: 106.8 kB / 1.275 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.705e-05/1.068, allocations: 180.9 kB / 1.275 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.713e-05/1.068, allocations: 182.2 kB / 1.275 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-05/1.068, allocations: 185.8 kB / 1.276 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001189/1.068, allocations: 185.8 kB / 1.276 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/1.068, allocations: 323.3 kB / 1.276 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/1.068, allocations: 209.3 kB / 1.276 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/1.068, allocations: 188.8 kB / 1.276 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/1.069, allocations: 107.1 kB / 1.277 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/1.069, allocations: 182.9 kB / 1.277 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.245e-05/1.069, allocations: 106 kB / 1.277 GB, free: 12.71 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003278/1.069, allocations: 279.7 kB / 1.277 GB, free: 12.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.069, allocations: 0 / 1.277 GB, free: 12.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000514/1.07, allocations: 89.88 kB / 1.277 GB, free: 12.56 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.0004823/1.07, allocations: 302.9 kB / 1.277 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000286/1.07, allocations: 169.4 kB / 1.278 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.07, allocations: 1.031 kB / 1.278 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/1.07, allocations: 0 / 1.278 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/1.071, allocations: 467.8 kB / 1.278 GB, free: 11.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007856/1.072, allocations: 0.5181 MB / 1.279 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/1.072, allocations: 0.7724 MB / 1.279 GB, free: 10.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/1.072, allocations: 9.281 kB / 1.279 GB, free: 10.75 MB / 1.014 GB Notification: Performance of SimCode: time 2.31e-07/1.072, allocations: 0 / 1.279 GB, free: 10.75 MB / 1.014 GB Notification: Performance of Templates: time 0.006081/1.078, allocations: 3.148 MB / 1.282 GB, free: 10.43 MB / 1.014 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 -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_2/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: 11.807636979967356]