Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002235/0.002235, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.684/1.684, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.329/3.329, allocations: 0.4893 GB / 0.7884 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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_low,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_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,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_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 69.64 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.5028, allocations: 174.9 MB / 1.316 GB, free: 9.738 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003464/0.5062, allocations: 1.399 MB / 1.317 GB, free: 8.324 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00316/0.5094, allocations: 1.97 MB / 1.319 GB, free: 6.348 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.718e-05/0.5095, allocations: 4 kB / 1.319 GB, free: 6.344 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.5107, allocations: 385.3 kB / 1.32 GB, free: 5.969 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.5108, allocations: 23.91 kB / 1.32 GB, free: 5.945 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.833e-06/0.5108, allocations: 0 / 1.32 GB, free: 5.945 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.5112, allocations: 131.1 kB / 1.32 GB, free: 5.816 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.944e-05/0.5112, allocations: 5.688 kB / 1.32 GB, free: 5.805 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.86e-05/0.5113, allocations: 43.86 kB / 1.32 GB, free: 5.762 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.5115, allocations: 59.7 kB / 1.32 GB, free: 5.703 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.5115, allocations: 4 kB / 1.32 GB, free: 5.699 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005565/0.512, allocations: 183.9 kB / 1.32 GB, free: 5.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.5121, allocations: 35.83 kB / 1.32 GB, free: 5.484 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.5122, allocations: 75.61 kB / 1.32 GB, free: 5.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006127/0.5128, allocations: 298.6 kB / 1.32 GB, free: 5.117 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.5128, allocations: 0 / 1.32 GB, free: 5.117 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.806e-06/0.5129, allocations: 0 / 1.32 GB, free: 5.117 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.5129, allocations: 0 / 1.32 GB, free: 5.117 MB / 1.014 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.0009935/0.5139, allocations: 425.2 kB / 1.321 GB, free: 4.672 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.5139, allocations: 11.97 kB / 1.321 GB, free: 4.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.5141, allocations: 104.1 kB / 1.321 GB, free: 4.559 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.5144, allocations: 229.1 kB / 1.321 GB, free: 4.312 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.5145, allocations: 154.9 kB / 1.321 GB, free: 4.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-05/0.5146, allocations: 154.9 kB / 1.322 GB, free: 4.008 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.5147, allocations: 109.1 kB / 1.322 GB, free: 3.895 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.071e-05/0.5147, allocations: 79.28 kB / 1.322 GB, free: 3.816 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.843e-05/0.5148, allocations: 154.6 kB / 1.322 GB, free: 3.664 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-05/0.5149, allocations: 154.5 kB / 1.322 GB, free: 3.512 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.515, allocations: 154.5 kB / 1.322 GB, free: 3.359 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.5155, allocations: 484.8 kB / 1.323 GB, free: 2.844 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.5156, allocations: 169.1 kB / 1.323 GB, free: 2.668 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.5156, allocations: 80.14 kB / 1.323 GB, free: 2.586 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.058e-05/0.5157, allocations: 75.28 kB / 1.323 GB, free: 2.512 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.006e-05/0.5158, allocations: 121.7 kB / 1.323 GB, free: 2.383 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.5158, allocations: 0 / 1.323 GB, free: 2.383 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0002035/0.516, allocations: 45.56 kB / 1.323 GB, free: 2.332 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.5161, allocations: 134.7 kB / 1.323 GB, free: 2.188 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.5165, allocations: 321.6 kB / 1.324 GB, free: 1.859 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.5165, allocations: 25.7 kB / 1.324 GB, free: 1.828 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.5166, allocations: 124.4 kB / 1.324 GB, free: 1.703 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.5166, allocations: 0 / 1.324 GB, free: 1.703 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.127e-05/0.5167, allocations: 61.69 kB / 1.324 GB, free: 1.637 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.5169, allocations: 330.8 kB / 1.324 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.517, allocations: 59.97 kB / 1.324 GB, free: 1.246 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.5172, allocations: 125.9 kB / 1.324 GB, free: 1.102 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.5175, allocations: 209.8 kB / 1.324 GB, free: 0.875 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5175, allocations: 0 / 1.324 GB, free: 0.875 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004932/0.518, allocations: 237.2 kB / 1.325 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.518, allocations: 8 kB / 1.325 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.518, allocations: 0 / 1.325 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.518, allocations: 4 kB / 1.325 GB, free: 0.625 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-06/0.518, allocations: 0 / 1.325 GB, free: 0.625 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.5181, allocations: 7.984 kB / 1.325 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.5182, allocations: 23.73 kB / 1.325 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.5182, allocations: 4 kB / 1.325 GB, free: 0.5898 MB / 1.014 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.0002449/0.5184, allocations: 241.1 kB / 1.325 GB, free: 352 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5185, allocations: 120.8 kB / 1.325 GB, free: 224 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.695e-05/0.5186, allocations: 113.8 kB / 1.325 GB, free: 100 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001588/0.5188, allocations: 180.2 kB / 1.325 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001266/0.5189, allocations: 188.2 kB / 1.325 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001257/0.519, allocations: 176.3 kB / 1.326 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.5195, allocations: 428.2 kB / 1.326 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.038e-05/0.5195, allocations: 101 kB / 1.326 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.5196, allocations: 112.9 kB / 1.326 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.5197, allocations: 184.3 kB / 1.326 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.5198, allocations: 180.2 kB / 1.327 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.845e-05/0.5199, allocations: 176.3 kB / 1.327 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001179/0.52, allocations: 188.2 kB / 1.327 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.5203, allocations: 315.7 kB / 1.327 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.5204, allocations: 128.7 kB / 1.327 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.5205, allocations: 180.3 kB / 1.328 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.5207, allocations: 105 kB / 1.328 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.5208, allocations: 180.2 kB / 1.328 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.247e-05/0.5209, allocations: 109.3 kB / 1.328 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00025/0.5211, allocations: 213.2 kB / 1.328 GB, free: 12.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.5211, allocations: 0 / 1.328 GB, free: 12.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004024/0.5215, allocations: 67.88 kB / 1.328 GB, free: 12.78 MB / 1.029 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.0004448/0.522, allocations: 275 kB / 1.328 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.5222, allocations: 87.83 kB / 1.329 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5222, allocations: 448 / 1.329 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.5222, allocations: 0 / 1.329 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.5227, allocations: 460.2 kB / 1.329 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.5234, allocations: 413.3 kB / 1.329 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.5239, allocations: 0.7392 MB / 1.33 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.557e-05/0.5239, allocations: 3.984 kB / 1.33 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.5239, allocations: 11.44 kB / 1.33 GB, free: 10.75 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.5239, allocations: 0 / 1.33 GB, free: 10.75 MB / 1.029 GB Notification: Performance of Templates: time 0.006668/0.5306, allocations: 2.317 MB / 1.332 GB, free: 8.445 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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 [Calling sys.exit(0), Time elapsed: 10.317179342731833]