Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002711/0.002711, allocations: 83.69 kB / 20.23 MB, free: 4.18 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.003243/0.003243, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.656/1.656, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.947/2.947, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_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_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7863 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.348e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003031/0.003064, allocations: 1.452 MB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004263/0.007327, allocations: 2.623 MB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.007362, allocations: 4 kB / 0.7903 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.008991, allocations: 0.5472 MB / 0.7909 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.493e-05/0.009056, allocations: 29.12 kB / 0.7909 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.49e-06/0.009062, allocations: 0 / 0.7909 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.009385, allocations: 162.8 kB / 0.7911 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.44e-05/0.009449, allocations: 17.52 kB / 0.7911 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.009599, allocations: 91.72 kB / 0.7912 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.009756, allocations: 53.44 kB / 0.7912 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.00978, allocations: 7.984 kB / 0.7912 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.01081, allocations: 405.9 kB / 0.7916 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.01087, allocations: 32.81 kB / 0.7916 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.01098, allocations: 63.8 kB / 0.7917 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007693/0.01175, allocations: 450.7 kB / 0.7921 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.01175, allocations: 0 / 0.7921 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.953e-06/0.01175, allocations: 1.375 kB / 0.7921 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.01176, allocations: 0 / 0.7921 GB, free: 6.816 MB / 0.7448 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.001008/0.01277, allocations: 0.5898 MB / 0.7927 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.01281, allocations: 8.031 kB / 0.7927 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.01301, allocations: 151.9 kB / 0.7929 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.01331, allocations: 291.1 kB / 0.7931 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.01346, allocations: 243.5 kB / 0.7934 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.01359, allocations: 242.8 kB / 0.7936 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.0137, allocations: 149.5 kB / 0.7937 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.401e-05/0.01377, allocations: 120.2 kB / 0.7939 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.0139, allocations: 238.8 kB / 0.7941 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/0.01402, allocations: 247.6 kB / 0.7943 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.01416, allocations: 242.3 kB / 0.7945 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.01476, allocations: 0.6901 MB / 0.7952 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.01495, allocations: 273.4 kB / 0.7955 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.191e-05/0.01504, allocations: 130.9 kB / 0.7956 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.498e-05/0.01511, allocations: 120 kB / 0.7957 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.01521, allocations: 152.6 kB / 0.7959 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.01521, allocations: 2.219 kB / 0.7959 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001985/0.01541, allocations: 61.44 kB / 0.7959 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.01553, allocations: 170.6 kB / 0.7961 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/0.01619, allocations: 0.5257 MB / 0.7966 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.01621, allocations: 25.7 kB / 0.7966 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.01639, allocations: 199.3 kB / 0.7968 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.01639, allocations: 3.031 kB / 0.7968 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003963/0.01678, allocations: 123.3 kB / 0.7969 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003052/0.01709, allocations: 0.5235 MB / 0.7975 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.01716, allocations: 40.66 kB / 0.7975 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.01734, allocations: 141.7 kB / 0.7976 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.01762, allocations: 217.5 kB / 0.7978 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01762, allocations: 0 / 0.7978 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000508/0.01813, allocations: 265.1 kB / 0.7981 GB, free: 460 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.01815, allocations: 11.69 kB / 0.7981 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.01816, allocations: 0 / 0.7981 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.01817, allocations: 4 kB / 0.7981 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.068e-05/0.01818, allocations: 4.609 kB / 0.7981 GB, free: 444 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.01819, allocations: 4 kB / 0.7981 GB, free: 440 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.01834, allocations: 44.06 kB / 0.7982 GB, free: 396 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.01835, allocations: 4.875 kB / 0.7982 GB, free: 392 kB / 0.7448 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.0002623/0.01861, allocations: 332.6 kB / 0.7985 GB, free: 48 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.01875, allocations: 168.7 kB / 0.7986 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.01886, allocations: 154.8 kB / 0.7988 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000143/0.019, allocations: 273.1 kB / 0.799 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001549/0.01915, allocations: 272.1 kB / 0.7993 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001468/0.0193, allocations: 272 kB / 0.7996 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.01978, allocations: 0.5825 MB / 0.8001 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.053e-05/0.01986, allocations: 148.9 kB / 0.8003 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.835e-05/0.01995, allocations: 158.2 kB / 0.8004 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001679/0.02012, allocations: 264.1 kB / 0.8007 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.02027, allocations: 272 kB / 0.8009 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001433/0.02042, allocations: 267.7 kB / 0.8012 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001444/0.02056, allocations: 272.1 kB / 0.8014 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.02086, allocations: 471.7 kB / 0.8019 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.02098, allocations: 172.6 kB / 0.8021 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.02116, allocations: 272.1 kB / 0.8023 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.02134, allocations: 153.2 kB / 0.8025 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.02148, allocations: 268 kB / 0.8027 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.012e-05/0.02156, allocations: 148.9 kB / 0.8029 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000363/0.02193, allocations: 319 kB / 0.8032 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02193, allocations: 0 / 0.8032 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004244/0.02235, allocations: 92.73 kB / 0.8033 GB, free: 10.96 MB / 0.7605 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.0004954/0.02285, allocations: 352.9 kB / 0.8036 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.02309, allocations: 113 kB / 0.8037 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02309, allocations: 0 / 0.8037 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.0231, allocations: 0 / 0.8037 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009467/0.02404, allocations: 0.7076 MB / 0.8044 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.02482, allocations: 0.5223 MB / 0.8049 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.025, allocations: 156.5 kB / 0.8051 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.629e-05/0.02501, allocations: 4.234 kB / 0.8051 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.02504, allocations: 8.5 kB / 0.8051 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of SimCode: time 5.21e-07/0.02504, allocations: 4 kB / 0.8051 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of Templates: time 0.008145/0.03319, allocations: 3.05 MB / 0.808 GB, free: 6.027 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.432255296967924]