Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.00145/0.00145, allocations: 78.09 kB / 19.76 MB, free: 2.035 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.001753/0.001753, allocations: 157.1 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.54/1.54, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.872/2.872, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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_12_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_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [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.002372/0.002372, allocations: 59.91 kB / 0.9819 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201/1.204, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003509/1.207, allocations: 1.408 MB / 1.155 GB, free: 32.37 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002478/1.21, allocations: 1.757 MB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/1.21, allocations: 0 / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/1.211, allocations: 357.6 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/1.211, allocations: 20.31 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 6.031e-06/1.211, allocations: 0 / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002903/1.212, allocations: 131.6 kB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.277e-05/1.212, allocations: 10.08 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/1.212, allocations: 39.31 kB / 1.158 GB, free: 30.97 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/1.212, allocations: 66.09 kB / 1.158 GB, free: 30.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/1.212, allocations: 2.812 kB / 1.158 GB, free: 30.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/1.212, allocations: 171 kB / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/1.213, allocations: 37.2 kB / 1.158 GB, free: 30.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/1.213, allocations: 60.3 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005406/1.213, allocations: 293.9 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.213, allocations: 7.281 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.845e-06/1.213, allocations: 0 / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.324e-06/1.213, allocations: 0 / 1.158 GB, free: 30.76 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.0007896/1.214, allocations: 422.2 kB / 1.159 GB, free: 30.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.214, allocations: 12.02 kB / 1.159 GB, free: 30.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/1.214, allocations: 99.55 kB / 1.159 GB, free: 30.33 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/1.214, allocations: 234.4 kB / 1.159 GB, free: 30.1 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/1.214, allocations: 158 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.536e-05/1.214, allocations: 158.9 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.755e-05/1.214, allocations: 108 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/1.214, allocations: 75.28 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/1.215, allocations: 150.6 kB / 1.159 GB, free: 29.46 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/1.215, allocations: 153.4 kB / 1.16 GB, free: 29.31 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.291e-05/1.215, allocations: 154.5 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/1.215, allocations: 465.7 kB / 1.16 GB, free: 28.72 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.765e-05/1.215, allocations: 172 kB / 1.16 GB, free: 28.54 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/1.215, allocations: 84.19 kB / 1.16 GB, free: 28.46 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/1.215, allocations: 75.28 kB / 1.161 GB, free: 28.38 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/1.215, allocations: 112.6 kB / 1.161 GB, free: 28.27 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/1.215, allocations: 4 kB / 1.161 GB, free: 28.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001666/1.215, allocations: 56.39 kB / 1.161 GB, free: 28.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/1.215, allocations: 126.7 kB / 1.161 GB, free: 28.08 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/1.215, allocations: 320.5 kB / 1.161 GB, free: 27.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/1.215, allocations: 28.61 kB / 1.161 GB, free: 27.88 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/1.216, allocations: 117 kB / 1.161 GB, free: 27.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/1.216, allocations: 0 / 1.161 GB, free: 27.78 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/1.216, allocations: 62.56 kB / 1.161 GB, free: 27.74 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/1.216, allocations: 337.7 kB / 1.162 GB, free: 27.42 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.355e-05/1.216, allocations: 65.7 kB / 1.162 GB, free: 27.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/1.216, allocations: 123.9 kB / 1.162 GB, free: 27.31 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/1.216, allocations: 209.5 kB / 1.162 GB, free: 27.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.216, allocations: 0 / 1.162 GB, free: 27.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004012/1.217, allocations: 230.8 kB / 1.162 GB, free: 27.1 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.217, allocations: 9.969 kB / 1.162 GB, free: 27.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.217, allocations: 2.844 kB / 1.162 GB, free: 27.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/1.217, allocations: 2.781 kB / 1.162 GB, free: 27.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/1.217, allocations: 3.938 kB / 1.162 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/1.217, allocations: 2.719 kB / 1.162 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/1.217, allocations: 34.59 kB / 1.162 GB, free: 27.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/1.217, allocations: 10.78 kB / 1.162 GB, free: 27.06 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.0001627/1.217, allocations: 225.3 kB / 1.163 GB, free: 26.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/1.217, allocations: 125.2 kB / 1.163 GB, free: 26.74 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/1.217, allocations: 111.8 kB / 1.163 GB, free: 26.62 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/1.217, allocations: 176.3 kB / 1.163 GB, free: 26.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.85e-05/1.217, allocations: 183.1 kB / 1.163 GB, free: 26.26 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/1.217, allocations: 183.5 kB / 1.163 GB, free: 26.08 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/1.217, allocations: 402.9 kB / 1.164 GB, free: 25.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/1.217, allocations: 103.8 kB / 1.164 GB, free: 25.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/1.217, allocations: 101 kB / 1.164 GB, free: 25.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.882e-05/1.217, allocations: 187.1 kB / 1.164 GB, free: 25.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/1.217, allocations: 180.2 kB / 1.164 GB, free: 25.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-05/1.217, allocations: 186.3 kB / 1.164 GB, free: 24.92 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.68e-05/1.217, allocations: 176.3 kB / 1.165 GB, free: 24.74 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.538e-05/1.217, allocations: 327.8 kB / 1.165 GB, free: 24.41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/1.217, allocations: 118.2 kB / 1.165 GB, free: 24.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/1.218, allocations: 184.1 kB / 1.165 GB, free: 24.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/1.218, allocations: 111.8 kB / 1.165 GB, free: 24 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/1.218, allocations: 180.2 kB / 1.165 GB, free: 23.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/1.218, allocations: 101 kB / 1.166 GB, free: 23.71 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001594/1.218, allocations: 215.8 kB / 1.166 GB, free: 23.59 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.218, allocations: 4 kB / 1.166 GB, free: 23.59 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003216/1.218, allocations: 66.17 kB / 1.166 GB, free: 23.58 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.0002746/1.218, allocations: 275.1 kB / 1.166 GB, free: 23.38 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001555/1.219, allocations: 84.58 kB / 1.166 GB, free: 23.35 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.219, allocations: 0 / 1.166 GB, free: 23.35 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/1.219, allocations: 2.875 kB / 1.166 GB, free: 23.35 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/1.219, allocations: 466.1 kB / 1.167 GB, free: 22.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/1.219, allocations: 401.3 kB / 1.167 GB, free: 22.62 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/1.219, allocations: 128.9 kB / 1.167 GB, free: 22.55 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.508e-05/1.22, allocations: 3.312 kB / 1.167 GB, free: 22.55 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.96e-05/1.22, allocations: 11.47 kB / 1.167 GB, free: 22.54 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.22, allocations: 0 / 1.167 GB, free: 22.54 MB / 1.076 GB Notification: Performance of Templates: time 0.005587/1.225, allocations: 2.268 MB / 1.169 GB, free: 22.2 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.733459768933244]