Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001272/0.001272, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001481/0.001481, allocations: 222.9 kB / 23 MB, free: 4.914 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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.832/2.832, allocations: 476 MB / 0.7707 GB, free: 4.703 MB / 0.6231 GB " [Timeout remaining time 177] 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_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_11_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_11_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.002165/0.002165, allocations: 67.97 kB / 1.118 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3635, allocations: 169.9 MB / 1.284 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002708/0.3662, allocations: 1.43 MB / 1.285 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003165/0.3694, allocations: 2.407 MB / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.3694, allocations: 0 / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.3708, allocations: 0.5477 MB / 1.288 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.3709, allocations: 15.91 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.448e-06/0.3709, allocations: 0 / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.3711, allocations: 166.9 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.3711, allocations: 8.594 kB / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.3712, allocations: 59.73 kB / 1.288 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.3714, allocations: 79.58 kB / 1.288 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.3714, allocations: 0 / 1.288 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008195/0.3722, allocations: 411.5 kB / 1.289 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.3723, allocations: 39.77 kB / 1.289 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.592e-05/0.3723, allocations: 71.56 kB / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006098/0.373, allocations: 450 kB / 1.289 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.373, allocations: 0 / 1.289 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.373, allocations: 0 / 1.289 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.373, allocations: 0 / 1.289 GB, free: 14.06 MB / 0.9981 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.0007725/0.3737, allocations: 498.4 kB / 1.29 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3738, allocations: 11.97 kB / 1.29 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.3739, allocations: 100.1 kB / 1.29 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.3742, allocations: 252.5 kB / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.3742, allocations: 158.9 kB / 1.29 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/0.3743, allocations: 150.9 kB / 1.29 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.243e-05/0.3744, allocations: 109.5 kB / 1.291 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.3744, allocations: 75.47 kB / 1.291 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/0.3745, allocations: 154.5 kB / 1.291 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.865e-05/0.3745, allocations: 154.6 kB / 1.291 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.3746, allocations: 154.6 kB / 1.291 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.375, allocations: 493.2 kB / 1.291 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.354e-05/0.3751, allocations: 169.1 kB / 1.292 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.3751, allocations: 80.14 kB / 1.292 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.3751, allocations: 75.28 kB / 1.292 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.946e-05/0.3752, allocations: 117.9 kB / 1.292 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3752, allocations: 0 / 1.292 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.000174/0.3754, allocations: 65.38 kB / 1.292 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.3754, allocations: 126.7 kB / 1.292 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.3759, allocations: 433.3 kB / 1.293 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3759, allocations: 33.7 kB / 1.293 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.376, allocations: 128.6 kB / 1.293 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.376, allocations: 0 / 1.293 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.469e-05/0.3761, allocations: 93.66 kB / 1.293 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3763, allocations: 338.8 kB / 1.293 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3764, allocations: 100.6 kB / 1.293 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.3765, allocations: 161.9 kB / 1.293 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.3769, allocations: 305.6 kB / 1.294 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.3769, allocations: 0 / 1.294 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005238/0.3774, allocations: 337 kB / 1.294 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3774, allocations: 8.219 kB / 1.294 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3774, allocations: 4 kB / 1.294 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3774, allocations: 3.938 kB / 1.294 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.206e-06/0.3775, allocations: 4 kB / 1.294 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3775, allocations: 0 / 1.294 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.3776, allocations: 47.52 kB / 1.294 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.3776, allocations: 7.984 kB / 1.294 GB, free: 8.984 MB / 0.9981 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.0002374/0.3779, allocations: 241 kB / 1.294 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.3779, allocations: 124.8 kB / 1.294 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.378, allocations: 118.9 kB / 1.294 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.802e-05/0.3781, allocations: 188.1 kB / 1.295 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.567e-05/0.3781, allocations: 180.2 kB / 1.295 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.182e-05/0.3782, allocations: 176.3 kB / 1.295 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.3785, allocations: 424.8 kB / 1.295 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-05/0.3786, allocations: 105 kB / 1.295 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.3786, allocations: 108.9 kB / 1.296 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.166e-05/0.3787, allocations: 176.3 kB / 1.296 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/0.3787, allocations: 180.3 kB / 1.296 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.573e-05/0.3788, allocations: 184.4 kB / 1.296 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.268e-05/0.3789, allocations: 180.2 kB / 1.296 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.3791, allocations: 339.6 kB / 1.297 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.055e-05/0.3792, allocations: 128.8 kB / 1.297 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3793, allocations: 188.2 kB / 1.297 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3794, allocations: 101 kB / 1.297 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.3795, allocations: 184.1 kB / 1.297 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.3795, allocations: 109 kB / 1.297 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002902/0.3798, allocations: 279.1 kB / 1.298 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3798, allocations: 0 / 1.298 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003909/0.3802, allocations: 83.92 kB / 1.298 GB, free: 5.086 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.0003871/0.3806, allocations: 310.2 kB / 1.298 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.3808, allocations: 123.8 kB / 1.298 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3808, allocations: 0 / 1.298 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.3808, allocations: 0 / 1.298 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.3812, allocations: 465.1 kB / 1.298 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.3819, allocations: 0.5186 MB / 1.299 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.3821, allocations: 164.6 kB / 1.299 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/0.3821, allocations: 7.438 kB / 1.299 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3821, allocations: 0 / 1.299 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of Templates: time 0.005369/0.3875, allocations: 3.265 MB / 1.302 GB, free: 200 kB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.184681849554181]