Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00138/0.00138, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001509/0.001509, allocations: 156.1 kB / 23.01 MB, free: 4.949 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.526/1.526, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.796/2.796, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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_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_11_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_11_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.002465/0.002465, allocations: 71.89 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4387, allocations: 169.9 MB / 1.117 GB, free: 2.539 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003869/0.4426, allocations: 1.4 MB / 1.119 GB, free: 1.125 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0031/0.4457, allocations: 1.764 MB / 1.121 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.4458, allocations: 4 kB / 1.121 GB, free: 15.35 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.4474, allocations: 358 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.83e-05/0.4475, allocations: 19.91 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 6.793e-06/0.4475, allocations: 0 / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.4478, allocations: 127.1 kB / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.761e-05/0.4478, allocations: 9.672 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.882e-05/0.4479, allocations: 51.78 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.4481, allocations: 63.7 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.4481, allocations: 0 / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.4487, allocations: 171.9 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/0.4488, allocations: 31.89 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.774e-05/0.4489, allocations: 59.69 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.4494, allocations: 302.6 kB / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4494, allocations: 0 / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4494, allocations: 0 / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4494, allocations: 0 / 1.122 GB, free: 14.18 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.0008169/0.4502, allocations: 421.2 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.4503, allocations: 8.031 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.4505, allocations: 96.08 kB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.4508, allocations: 233.1 kB / 1.122 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.451, allocations: 170.9 kB / 1.123 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-05/0.4511, allocations: 150.9 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.4512, allocations: 109.1 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/0.4512, allocations: 75.28 kB / 1.123 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/0.4513, allocations: 150.6 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.762e-05/0.4514, allocations: 150.6 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.209e-05/0.4515, allocations: 150.6 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.4519, allocations: 477.2 kB / 1.124 GB, free: 11.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.4521, allocations: 165.1 kB / 1.124 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.4521, allocations: 84.14 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.355e-05/0.4522, allocations: 79.28 kB / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.989e-05/0.4523, allocations: 109.8 kB / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 2.906e-06/0.4523, allocations: 3.984 kB / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001973/0.4525, allocations: 49.48 kB / 1.124 GB, free: 11.42 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.4526, allocations: 130.7 kB / 1.124 GB, free: 11.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.453, allocations: 321.7 kB / 1.125 GB, free: 10.96 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.453, allocations: 25.7 kB / 1.125 GB, free: 10.93 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.4531, allocations: 116.5 kB / 1.125 GB, free: 10.81 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.4531, allocations: 3.984 kB / 1.125 GB, free: 10.81 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.542e-05/0.4532, allocations: 61.69 kB / 1.125 GB, free: 10.74 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.4534, allocations: 330.8 kB / 1.125 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.4535, allocations: 67.95 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.4537, allocations: 114 kB / 1.125 GB, free: 10.21 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.454, allocations: 213.8 kB / 1.126 GB, free: 9.98 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.454, allocations: 0 / 1.126 GB, free: 9.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004779/0.4544, allocations: 233.3 kB / 1.126 GB, free: 9.746 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.4545, allocations: 11.94 kB / 1.126 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4545, allocations: 0 / 1.126 GB, free: 9.734 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.4545, allocations: 4 kB / 1.126 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-06/0.4545, allocations: 3.938 kB / 1.126 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.4545, allocations: 4 kB / 1.126 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.4546, allocations: 31.94 kB / 1.126 GB, free: 9.691 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.4547, allocations: 8 kB / 1.126 GB, free: 9.684 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.0003359/0.455, allocations: 225 kB / 1.126 GB, free: 9.453 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4551, allocations: 132.8 kB / 1.126 GB, free: 9.316 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.268e-05/0.4552, allocations: 109.8 kB / 1.126 GB, free: 9.203 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001086/0.4553, allocations: 180.2 kB / 1.126 GB, free: 9.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001184/0.4554, allocations: 184.2 kB / 1.127 GB, free: 8.832 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001016/0.4555, allocations: 184.2 kB / 1.127 GB, free: 8.645 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.4558, allocations: 400.8 kB / 1.127 GB, free: 8.215 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-05/0.4559, allocations: 105 kB / 1.127 GB, free: 8.105 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.4559, allocations: 109 kB / 1.127 GB, free: 7.992 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.299e-05/0.456, allocations: 180.2 kB / 1.128 GB, free: 7.809 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-05/0.4561, allocations: 180.2 kB / 1.128 GB, free: 7.625 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.149e-05/0.4562, allocations: 188.2 kB / 1.128 GB, free: 7.434 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.241e-05/0.4563, allocations: 180.3 kB / 1.128 GB, free: 7.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.4565, allocations: 323.9 kB / 1.128 GB, free: 6.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.394e-05/0.4566, allocations: 120.9 kB / 1.129 GB, free: 6.785 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.4567, allocations: 188.1 kB / 1.129 GB, free: 6.594 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.4569, allocations: 101 kB / 1.129 GB, free: 6.488 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/0.457, allocations: 188.2 kB / 1.129 GB, free: 6.297 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.457, allocations: 109 kB / 1.129 GB, free: 6.184 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002248/0.4572, allocations: 209.2 kB / 1.129 GB, free: 5.977 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4572, allocations: 0 / 1.129 GB, free: 5.977 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003993/0.4576, allocations: 67.92 kB / 1.129 GB, free: 5.91 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.0003983/0.458, allocations: 274.4 kB / 1.13 GB, free: 5.629 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.4582, allocations: 83.89 kB / 1.13 GB, free: 5.547 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4582, allocations: 0 / 1.13 GB, free: 5.547 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.4582, allocations: 0 / 1.13 GB, free: 5.547 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.4588, allocations: 466.4 kB / 1.13 GB, free: 5.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006087/0.4594, allocations: 397.2 kB / 1.13 GB, free: 4.676 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.4595, allocations: 135.3 kB / 1.131 GB, free: 4.527 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.202e-05/0.4595, allocations: 0 / 1.131 GB, free: 4.527 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.4595, allocations: 12.5 kB / 1.131 GB, free: 4.516 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.4595, allocations: 0 / 1.131 GB, free: 4.516 MB / 1.076 GB Notification: Performance of Templates: time 0.006207/0.4658, allocations: 2.268 MB / 1.133 GB, free: 2.266 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.814983924035914]