Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00206/0.00206, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.00261/0.00261, allocations: 159.3 kB / 23.01 MB, free: 4.602 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.574/1.574, allocations: 177.2 MB / 203.4 MB, free: 8.93 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.929/2.929, 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_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_12_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_12_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.002101/0.002101, allocations: 63.89 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275/1.277, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003404/1.281, allocations: 1.419 MB / 1.155 GB, free: 32.37 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002901/1.284, allocations: 2.41 MB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/1.284, allocations: 0 / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/1.285, allocations: 0.5416 MB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.902e-05/1.285, allocations: 20.28 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.358e-06/1.285, allocations: 0 / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/1.285, allocations: 159.4 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.492e-05/1.285, allocations: 17.28 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/1.285, allocations: 66.58 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/1.286, allocations: 79.78 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/1.286, allocations: 2.938 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008184/1.286, allocations: 403.2 kB / 1.159 GB, free: 30.29 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/1.287, allocations: 33.3 kB / 1.159 GB, free: 30.28 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/1.287, allocations: 82.58 kB / 1.159 GB, free: 30.25 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005968/1.287, allocations: 440.2 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.287, allocations: 0 / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.783e-06/1.287, allocations: 0 / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.508e-06/1.287, allocations: 0 / 1.159 GB, free: 30.05 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.0009891/1.288, allocations: 492.8 kB / 1.16 GB, free: 29.66 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/1.288, allocations: 12.38 kB / 1.16 GB, free: 29.66 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/1.289, allocations: 107.1 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/1.289, allocations: 249.2 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/1.289, allocations: 154.9 kB / 1.16 GB, free: 29.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/1.289, allocations: 153.6 kB / 1.161 GB, free: 29.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.113e-05/1.289, allocations: 104.2 kB / 1.161 GB, free: 28.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/1.289, allocations: 75.47 kB / 1.161 GB, free: 28.86 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/1.289, allocations: 154.5 kB / 1.161 GB, free: 28.7 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/1.289, allocations: 150.6 kB / 1.161 GB, free: 28.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.526e-05/1.289, allocations: 157.3 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/1.289, allocations: 498.3 kB / 1.162 GB, free: 27.95 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.386e-05/1.289, allocations: 169.1 kB / 1.162 GB, free: 27.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/1.289, allocations: 84.14 kB / 1.162 GB, free: 27.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/1.289, allocations: 78.12 kB / 1.162 GB, free: 27.61 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/1.289, allocations: 105.8 kB / 1.162 GB, free: 27.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/1.289, allocations: 0 / 1.162 GB, free: 27.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0002006/1.29, allocations: 66.58 kB / 1.162 GB, free: 27.44 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/1.29, allocations: 126.7 kB / 1.162 GB, free: 27.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/1.29, allocations: 430 kB / 1.163 GB, free: 27.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/1.29, allocations: 32.52 kB / 1.163 GB, free: 27.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/1.29, allocations: 146.6 kB / 1.163 GB, free: 26.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-06/1.29, allocations: 0 / 1.163 GB, free: 26.93 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/1.29, allocations: 89.41 kB / 1.163 GB, free: 26.89 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/1.29, allocations: 342 kB / 1.163 GB, free: 26.56 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/1.29, allocations: 94.2 kB / 1.163 GB, free: 26.53 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/1.291, allocations: 166 kB / 1.163 GB, free: 26.42 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/1.291, allocations: 303.4 kB / 1.164 GB, free: 26.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.291, allocations: 2.812 kB / 1.164 GB, free: 26.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004388/1.291, allocations: 334.5 kB / 1.164 GB, free: 26.13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.291, allocations: 5.75 kB / 1.164 GB, free: 26.13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.291, allocations: 3.188 kB / 1.164 GB, free: 26.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/1.291, allocations: 10.91 kB / 1.164 GB, free: 26.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-06/1.291, allocations: 0 / 1.164 GB, free: 26.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.291, allocations: 2.906 kB / 1.164 GB, free: 26.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/1.291, allocations: 43.89 kB / 1.164 GB, free: 26.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/1.292, allocations: 9.344 kB / 1.164 GB, free: 26.09 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.0001963/1.292, allocations: 239.4 kB / 1.164 GB, free: 25.89 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/1.292, allocations: 133 kB / 1.164 GB, free: 25.76 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/1.292, allocations: 109.8 kB / 1.165 GB, free: 25.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.513e-05/1.292, allocations: 187.6 kB / 1.165 GB, free: 25.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.661e-05/1.292, allocations: 187.1 kB / 1.165 GB, free: 25.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.693e-05/1.292, allocations: 180.2 kB / 1.165 GB, free: 25.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/1.292, allocations: 422.3 kB / 1.166 GB, free: 24.69 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.351e-05/1.292, allocations: 111.1 kB / 1.166 GB, free: 24.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/1.292, allocations: 104.9 kB / 1.166 GB, free: 24.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.213e-05/1.292, allocations: 179.2 kB / 1.166 GB, free: 24.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/1.292, allocations: 176.3 kB / 1.166 GB, free: 24.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.389e-05/1.292, allocations: 182.7 kB / 1.166 GB, free: 23.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.615e-05/1.292, allocations: 187.7 kB / 1.166 GB, free: 23.74 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.977e-05/1.292, allocations: 322.7 kB / 1.167 GB, free: 23.41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/1.292, allocations: 132.1 kB / 1.167 GB, free: 23.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/1.293, allocations: 191.1 kB / 1.167 GB, free: 23.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/1.293, allocations: 105 kB / 1.167 GB, free: 22.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/1.293, allocations: 189.9 kB / 1.167 GB, free: 22.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/1.293, allocations: 101 kB / 1.167 GB, free: 22.69 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002138/1.293, allocations: 280.8 kB / 1.168 GB, free: 22.56 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.293, allocations: 0 / 1.168 GB, free: 22.56 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004108/1.293, allocations: 85.56 kB / 1.168 GB, free: 22.55 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.0003662/1.294, allocations: 305.6 kB / 1.168 GB, free: 22.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002173/1.294, allocations: 126.3 kB / 1.168 GB, free: 22.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.294, allocations: 4.062 kB / 1.168 GB, free: 22.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/1.294, allocations: 2.625 kB / 1.168 GB, free: 22.29 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/1.294, allocations: 459.8 kB / 1.169 GB, free: 21.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/1.295, allocations: 0.5032 MB / 1.169 GB, free: 21.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/1.295, allocations: 173.3 kB / 1.169 GB, free: 21.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.448e-05/1.295, allocations: 3.938 kB / 1.169 GB, free: 21.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/1.295, allocations: 11.19 kB / 1.169 GB, free: 21.42 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.295, allocations: 0 / 1.169 GB, free: 21.42 MB / 1.076 GB Notification: Performance of Templates: time 0.00691/1.302, allocations: 3.018 MB / 1.172 GB, free: 21.02 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.110908770002425]