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.00183/0.00183, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002289/0.002289, allocations: 213.6 kB / 22.99 MB, free: 4.945 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.764/2.764, allocations: 476 MB / 0.7707 GB, free: 4.707 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_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.002087/0.002087, allocations: 69.27 kB / 1.118 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3439, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002872/0.3467, allocations: 1.423 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002568/0.3493, allocations: 1.758 MB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.3493, allocations: 0 / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.3505, allocations: 362.8 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.3506, allocations: 11.92 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.3506, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.3508, allocations: 123.2 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.764e-05/0.3509, allocations: 9.672 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.351, allocations: 47.78 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.3511, allocations: 63.66 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3511, allocations: 4 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.3516, allocations: 179.9 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.3516, allocations: 31.78 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.3517, allocations: 55.73 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.3522, allocations: 290.7 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3522, allocations: 0 / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3522, allocations: 0 / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.3522, allocations: 0 / 1.288 GB, free: 7.578 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.000739/0.353, allocations: 417.2 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.353, allocations: 8.031 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.3532, allocations: 112 kB / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.3534, allocations: 229.1 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/0.3535, allocations: 154.9 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.513e-05/0.3536, allocations: 154.9 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.137e-05/0.3536, allocations: 109 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.3537, allocations: 79.22 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.534e-05/0.3537, allocations: 154.5 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.535e-05/0.3538, allocations: 154.6 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.3539, allocations: 150.6 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.3542, allocations: 461.4 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3543, allocations: 181.1 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.3544, allocations: 84.14 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.3544, allocations: 75.28 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/0.3545, allocations: 109.8 kB / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3545, allocations: 0 / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001818/0.3546, allocations: 49.55 kB / 1.291 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.3547, allocations: 130.6 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.3551, allocations: 329.6 kB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3551, allocations: 25.7 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.3552, allocations: 116.5 kB / 1.291 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.3552, allocations: 0 / 1.291 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.3552, allocations: 65.67 kB / 1.291 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3554, allocations: 330.8 kB / 1.292 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.539e-05/0.3555, allocations: 63.95 kB / 1.292 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.3556, allocations: 118 kB / 1.292 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.3559, allocations: 213.8 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3559, allocations: 4 kB / 1.292 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004362/0.3563, allocations: 229.4 kB / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3563, allocations: 7.938 kB / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3564, allocations: 4 kB / 1.292 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3564, allocations: 0 / 1.292 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-06/0.3564, allocations: 8.219 kB / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3564, allocations: 3.938 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.3565, allocations: 31.73 kB / 1.292 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.3565, allocations: 4 kB / 1.292 GB, free: 3.082 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.0002261/0.3567, allocations: 226.4 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/0.3568, allocations: 124.7 kB / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.657e-05/0.3569, allocations: 117.7 kB / 1.293 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-05/0.357, allocations: 176.3 kB / 1.293 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.842e-05/0.357, allocations: 188.2 kB / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.959e-05/0.3571, allocations: 184.3 kB / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.3574, allocations: 400.8 kB / 1.294 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.851e-05/0.3574, allocations: 108.9 kB / 1.294 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.3575, allocations: 101 kB / 1.294 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-05/0.3575, allocations: 180.2 kB / 1.294 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.872e-05/0.3576, allocations: 184.2 kB / 1.294 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.974e-05/0.3577, allocations: 176.3 kB / 1.294 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.023e-05/0.3578, allocations: 192.1 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.3579, allocations: 323.6 kB / 1.295 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.358, allocations: 120.9 kB / 1.295 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.3581, allocations: 184.2 kB / 1.295 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.3583, allocations: 108.9 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.3584, allocations: 180.3 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.3584, allocations: 104.9 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002155/0.3586, allocations: 217.2 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3586, allocations: 0 / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003628/0.359, allocations: 67.88 kB / 1.296 GB, free: 15.31 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.000347/0.3593, allocations: 278.8 kB / 1.296 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.3595, allocations: 79.89 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3595, allocations: 0 / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.3595, allocations: 4 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.3599, allocations: 457.9 kB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.3605, allocations: 419.5 kB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.3606, allocations: 130.8 kB / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.3606, allocations: 7.438 kB / 1.297 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3606, allocations: 4 kB / 1.297 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of Templates: time 0.006156/0.3668, allocations: 2.415 MB / 1.299 GB, free: 11.48 MB / 0.9981 GB " [Timeout remaining time 299] 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 -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: 11.127830488141626]