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.0017/0.0017, allocations: 111 kB / 16.46 MB, free: 6.453 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.002108/0.002108, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.565/1.565, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.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 3.282/3.282, allocations: 0.49 GB / 0.7916 GB, free: 33.21 MB / 0.6231 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.00236/0.00236, allocations: 73.92 kB / 1.149 GB, free: 26.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3815, allocations: 176.1 MB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003089/0.3846, allocations: 1.449 MB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003735/0.3883, allocations: 2.678 MB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.3884, allocations: 0 / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.3902, allocations: 0.5805 MB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.3903, allocations: 15.91 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.3903, allocations: 0 / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.3906, allocations: 166.9 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.865e-05/0.3907, allocations: 24.41 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3908, allocations: 59.73 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.3909, allocations: 79.52 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.3909, allocations: 4 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.3921, allocations: 475.2 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.62e-05/0.3921, allocations: 31.84 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.3922, allocations: 103.4 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000756/0.393, allocations: 438 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.393, allocations: 4 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.393, allocations: 0 / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.393, allocations: 0 / 1.327 GB, free: 12.66 MB / 1.029 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.0008853/0.3939, allocations: 0.5642 MB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3939, allocations: 8.031 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.3941, allocations: 104 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.3944, allocations: 306.3 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.3944, allocations: 150.9 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.269e-05/0.3945, allocations: 158.9 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.725e-05/0.3946, allocations: 113.5 kB / 1.329 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/0.3946, allocations: 79.47 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.3947, allocations: 154.5 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-05/0.3948, allocations: 150.6 kB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.507e-05/0.3948, allocations: 150.6 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.3953, allocations: 0.5406 MB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.508e-05/0.3954, allocations: 169.1 kB / 1.33 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.3954, allocations: 80.14 kB / 1.33 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.3955, allocations: 75.28 kB / 1.33 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.96e-05/0.3955, allocations: 113.8 kB / 1.33 GB, free: 9.602 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3955, allocations: 4 kB / 1.33 GB, free: 9.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001948/0.3957, allocations: 61.42 kB / 1.33 GB, free: 9.531 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.3958, allocations: 126.7 kB / 1.33 GB, free: 9.395 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/0.3963, allocations: 433.3 kB / 1.331 GB, free: 8.961 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3963, allocations: 29.7 kB / 1.331 GB, free: 8.926 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.3964, allocations: 132.6 kB / 1.331 GB, free: 8.793 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.3964, allocations: 0 / 1.331 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3965, allocations: 93.66 kB / 1.331 GB, free: 8.695 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3967, allocations: 342.8 kB / 1.331 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.3968, allocations: 96.5 kB / 1.331 GB, free: 8.258 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.397, allocations: 165.3 kB / 1.331 GB, free: 8.078 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.3973, allocations: 309.6 kB / 1.332 GB, free: 7.754 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3973, allocations: 0 / 1.332 GB, free: 7.754 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005492/0.3979, allocations: 333 kB / 1.332 GB, free: 7.422 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3979, allocations: 4 kB / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3979, allocations: 7.938 kB / 1.332 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3979, allocations: 0 / 1.332 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-06/0.3979, allocations: 7.938 kB / 1.332 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3979, allocations: 0 / 1.332 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.3981, allocations: 47.72 kB / 1.332 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3981, allocations: 8 kB / 1.332 GB, free: 7.348 MB / 1.029 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.000265/0.3984, allocations: 241.1 kB / 1.332 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.511e-05/0.3985, allocations: 128.7 kB / 1.332 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.294e-05/0.3985, allocations: 122.9 kB / 1.333 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.946e-05/0.3986, allocations: 176.3 kB / 1.333 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-05/0.3987, allocations: 184.2 kB / 1.333 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-05/0.3988, allocations: 180.3 kB / 1.333 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.3992, allocations: 477.1 kB / 1.334 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.524e-05/0.3992, allocations: 101 kB / 1.334 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.3993, allocations: 101 kB / 1.334 GB, free: 5.559 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.259e-05/0.3993, allocations: 184.2 kB / 1.334 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.873e-05/0.3994, allocations: 192.2 kB / 1.334 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.344e-05/0.3995, allocations: 184.2 kB / 1.334 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-05/0.3996, allocations: 176.5 kB / 1.334 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.3998, allocations: 323.6 kB / 1.335 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.4, allocations: 213.8 kB / 1.335 GB, free: 4.234 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.4002, allocations: 188.1 kB / 1.335 GB, free: 4.043 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.4004, allocations: 105 kB / 1.335 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4005, allocations: 180.2 kB / 1.335 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/0.4006, allocations: 101 kB / 1.335 GB, free: 3.645 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004509/0.401, allocations: 283.1 kB / 1.336 GB, free: 3.367 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/0.401, allocations: 4 kB / 1.336 GB, free: 3.363 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005601/0.4016, allocations: 79.94 kB / 1.336 GB, free: 3.285 MB / 1.029 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.0005285/0.4021, allocations: 315.8 kB / 1.336 GB, free: 2.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.4024, allocations: 115.9 kB / 1.336 GB, free: 2.859 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4024, allocations: 0 / 1.336 GB, free: 2.859 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.4024, allocations: 7.922 kB / 1.336 GB, free: 2.852 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/0.4031, allocations: 469.6 kB / 1.337 GB, free: 2.391 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.4041, allocations: 0.4906 MB / 1.337 GB, free: 1.867 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/0.4047, allocations: 0.7821 MB / 1.338 GB, free: 1.059 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.603e-05/0.4047, allocations: 0 / 1.338 GB, free: 1.059 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.4047, allocations: 11.44 kB / 1.338 GB, free: 1.047 MB / 1.029 GB Notification: Performance of SimCode: time 7.32e-07/0.4047, allocations: 0 / 1.338 GB, free: 1.047 MB / 1.029 GB Notification: Performance of Templates: time 0.01016/0.4149, allocations: 3.094 MB / 1.341 GB, free: 13.96 MB / 1.045 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 9.35670667886734]