Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001385/0.001385, 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.001558/0.001558, allocations: 186.8 kB / 22.22 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.527/1.527, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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_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_10_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_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002883/0.002883, allocations: 59.91 kB / 1.061 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.051, allocations: 160.8 MB / 1.218 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003337/1.054, allocations: 1.434 MB / 1.22 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004398/1.059, allocations: 2.716 MB / 1.222 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.961e-05/1.059, allocations: 1.125 kB / 1.222 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00227/1.061, allocations: 0.5884 MB / 1.223 GB, free: 92 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.192e-05/1.061, allocations: 24.19 kB / 1.223 GB, free: 72 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.089e-06/1.061, allocations: 0 / 1.223 GB, free: 72 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003395/1.061, allocations: 161.9 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.055e-05/1.061, allocations: 14.33 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/1.061, allocations: 66.69 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/1.062, allocations: 74.47 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/1.062, allocations: 3.281 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/1.063, allocations: 470.6 kB / 1.224 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/1.063, allocations: 40.45 kB / 1.224 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/1.063, allocations: 94.61 kB / 1.224 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000873/1.064, allocations: 442.1 kB / 1.224 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.064, allocations: 0.9375 kB / 1.224 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.573e-06/1.064, allocations: 0 / 1.224 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.035e-06/1.064, allocations: 0 / 1.224 GB, free: 15.42 MB / 0.9356 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.001098/1.065, allocations: 0.5621 MB / 1.225 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/1.065, allocations: 9.969 kB / 1.225 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/1.066, allocations: 103.9 kB / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/1.066, allocations: 305.6 kB / 1.225 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-05/1.066, allocations: 152.2 kB / 1.225 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/1.066, allocations: 160.4 kB / 1.226 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.18e-05/1.066, allocations: 102.8 kB / 1.226 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/1.066, allocations: 75.47 kB / 1.226 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/1.066, allocations: 155.6 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.898e-05/1.067, allocations: 150.6 kB / 1.226 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/1.067, allocations: 155.8 kB / 1.226 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/1.067, allocations: 0.5385 MB / 1.227 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/1.067, allocations: 170.2 kB / 1.227 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/1.067, allocations: 80.14 kB / 1.227 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/1.067, allocations: 76.94 kB / 1.227 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.232e-05/1.067, allocations: 113.8 kB / 1.227 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/1.067, allocations: 0 / 1.227 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0002114/1.068, allocations: 66.27 kB / 1.227 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/1.068, allocations: 126.7 kB / 1.227 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005554/1.068, allocations: 431.6 kB / 1.228 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/1.068, allocations: 26.73 kB / 1.228 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/1.068, allocations: 130.9 kB / 1.228 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/1.068, allocations: 4 kB / 1.228 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/1.069, allocations: 91.5 kB / 1.228 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.069, allocations: 338.8 kB / 1.228 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/1.069, allocations: 99.69 kB / 1.228 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/1.069, allocations: 172 kB / 1.229 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/1.069, allocations: 301 kB / 1.229 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/1.069, allocations: 1.406 kB / 1.229 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006122/1.07, allocations: 327.1 kB / 1.229 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.07, allocations: 5.719 kB / 1.229 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.07, allocations: 6.312 kB / 1.229 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.07, allocations: 6.422 kB / 1.229 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.778e-06/1.07, allocations: 2.656 kB / 1.229 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.07, allocations: 1.188 kB / 1.229 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/1.07, allocations: 49.14 kB / 1.229 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/1.07, allocations: 7.125 kB / 1.229 GB, free: 10.94 MB / 0.9356 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.0003122/1.071, allocations: 246.3 kB / 1.23 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/1.071, allocations: 131.4 kB / 1.23 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.235e-05/1.071, allocations: 126.4 kB / 1.23 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001506/1.071, allocations: 185.2 kB / 1.23 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001161/1.071, allocations: 177.5 kB / 1.23 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-05/1.071, allocations: 181.6 kB / 1.23 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/1.072, allocations: 472.4 kB / 1.231 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.879e-05/1.072, allocations: 106.2 kB / 1.231 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.382e-05/1.072, allocations: 104.9 kB / 1.231 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/1.072, allocations: 189.5 kB / 1.231 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/1.072, allocations: 185.4 kB / 1.231 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.36e-05/1.072, allocations: 177.4 kB / 1.231 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.332e-05/1.072, allocations: 181.4 kB / 1.232 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/1.072, allocations: 330 kB / 1.232 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/1.073, allocations: 200.7 kB / 1.232 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/1.073, allocations: 189.6 kB / 1.232 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/1.073, allocations: 106.4 kB / 1.232 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.073, allocations: 180.3 kB / 1.233 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/1.073, allocations: 106.4 kB / 1.233 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003392/1.073, allocations: 280.8 kB / 1.233 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.073, allocations: 0 / 1.233 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005166/1.074, allocations: 88.86 kB / 1.233 GB, free: 7.141 MB / 0.9356 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.0004898/1.074, allocations: 316 kB / 1.233 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002621/1.075, allocations: 117.8 kB / 1.233 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.075, allocations: 0 / 1.233 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/1.075, allocations: 448 / 1.233 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/1.075, allocations: 467.9 kB / 1.234 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/1.076, allocations: 0.5036 MB / 1.234 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/1.077, allocations: 0.7785 MB / 1.235 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.871e-05/1.077, allocations: 6.328 kB / 1.235 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/1.077, allocations: 9.812 kB / 1.235 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of SimCode: time 9.22e-07/1.077, allocations: 0 / 1.235 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of Templates: time 0.008175/1.085, allocations: 3.098 MB / 1.238 GB, free: 2.492 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.423841083422303]