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.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.001834/0.001834, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001511/0.001511, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.496/1.496, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 68.28 kB / 1.109 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3522, allocations: 168.7 MB / 1.274 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002691/0.3549, allocations: 1.418 MB / 1.275 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002716/0.3576, allocations: 1.963 MB / 1.277 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.3577, allocations: 0 / 1.277 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.3587, allocations: 390.7 kB / 1.278 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.863e-05/0.3587, allocations: 23.78 kB / 1.278 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.368e-06/0.3587, allocations: 0 / 1.278 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.359, allocations: 123.2 kB / 1.278 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.359, allocations: 13.44 kB / 1.278 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.233e-05/0.3591, allocations: 43.84 kB / 1.278 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.3592, allocations: 63.7 kB / 1.278 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.3592, allocations: 7.938 kB / 1.278 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/0.3597, allocations: 179.9 kB / 1.278 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.3598, allocations: 31.84 kB / 1.278 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.846e-05/0.3599, allocations: 71.61 kB / 1.278 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004803/0.3604, allocations: 290.7 kB / 1.279 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3604, allocations: 0 / 1.279 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3604, allocations: 4 kB / 1.279 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3604, allocations: 4 kB / 1.279 GB, free: 6.625 MB / 0.9825 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.0007841/0.3612, allocations: 498.3 kB / 1.279 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3612, allocations: 12.03 kB / 1.279 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.3614, allocations: 96.12 kB / 1.279 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.3616, allocations: 295.3 kB / 1.279 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/0.3617, allocations: 154.9 kB / 1.28 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.3618, allocations: 154.9 kB / 1.28 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.616e-05/0.3618, allocations: 109 kB / 1.28 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.3619, allocations: 79.22 kB / 1.28 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.3619, allocations: 154.6 kB / 1.28 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/0.362, allocations: 150.6 kB / 1.28 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.3621, allocations: 158.6 kB / 1.28 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.3625, allocations: 0.5017 MB / 1.281 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.273e-05/0.3626, allocations: 169.1 kB / 1.281 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.3626, allocations: 84.14 kB / 1.281 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.3626, allocations: 79.28 kB / 1.281 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/0.3627, allocations: 109.8 kB / 1.281 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3627, allocations: 0 / 1.281 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001815/0.3629, allocations: 53.55 kB / 1.281 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.3629, allocations: 126.7 kB / 1.281 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.3633, allocations: 330.3 kB / 1.282 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3633, allocations: 29.7 kB / 1.282 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.3634, allocations: 120.5 kB / 1.282 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.3634, allocations: 0 / 1.282 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.378e-05/0.3635, allocations: 61.69 kB / 1.282 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3636, allocations: 330.8 kB / 1.282 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.092e-05/0.3637, allocations: 59.95 kB / 1.282 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.3639, allocations: 122 kB / 1.282 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.3641, allocations: 213.7 kB / 1.283 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3641, allocations: 0 / 1.283 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004572/0.3646, allocations: 241.3 kB / 1.283 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3646, allocations: 4 kB / 1.283 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3646, allocations: 0 / 1.283 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3646, allocations: 4.219 kB / 1.283 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-06/0.3646, allocations: 7.984 kB / 1.283 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3646, allocations: 4 kB / 1.283 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.3648, allocations: 27.73 kB / 1.283 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3648, allocations: 4 kB / 1.283 GB, free: 1.895 MB / 0.9825 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.0002194/0.365, allocations: 225 kB / 1.283 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.3651, allocations: 128.8 kB / 1.283 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.575e-05/0.3651, allocations: 117.8 kB / 1.283 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.43e-05/0.3652, allocations: 184.2 kB / 1.283 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-05/0.3653, allocations: 176.3 kB / 1.284 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.761e-05/0.3654, allocations: 180.2 kB / 1.284 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.3657, allocations: 453.1 kB / 1.284 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.519e-05/0.3658, allocations: 108.9 kB / 1.284 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.3659, allocations: 108.9 kB / 1.284 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.366, allocations: 176.3 kB / 1.285 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.612e-05/0.3661, allocations: 180.2 kB / 1.285 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-05/0.3662, allocations: 192.2 kB / 1.285 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.569e-05/0.3662, allocations: 180.2 kB / 1.285 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.3664, allocations: 315.7 kB / 1.285 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.3665, allocations: 205.9 kB / 1.286 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.3667, allocations: 180.3 kB / 1.286 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3668, allocations: 104.9 kB / 1.286 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.3669, allocations: 176.3 kB / 1.286 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.367, allocations: 121.2 kB / 1.286 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002227/0.3672, allocations: 209.9 kB / 1.286 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3672, allocations: 0 / 1.286 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000385/0.3676, allocations: 71.86 kB / 1.286 GB, free: 13.96 MB / 0.9981 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.0003439/0.3679, allocations: 275 kB / 1.287 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.3681, allocations: 79.89 kB / 1.287 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3681, allocations: 3.938 kB / 1.287 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.3681, allocations: 0 / 1.287 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.3685, allocations: 468.7 kB / 1.287 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005371/0.3691, allocations: 400.8 kB / 1.288 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3694, allocations: 0.7392 MB / 1.288 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.55e-05/0.3694, allocations: 4 kB / 1.288 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.3695, allocations: 11.44 kB / 1.288 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.3695, allocations: 4 kB / 1.288 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of Templates: time 0.006036/0.3755, allocations: 2.303 MB / 1.291 GB, free: 9.637 MB / 0.9981 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 cvode -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_2/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: 8.923987336922437]