Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001336/0.001336, 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.001497/0.001497, allocations: 222.9 kB / 23 MB, free: 4.91 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.276/3.276, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002097/0.002097, allocations: 67.12 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3676, allocations: 181.9 MB / 1.365 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002879/0.3705, allocations: 1.418 MB / 1.366 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.3731, allocations: 1.765 MB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.3731, allocations: 4 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.3741, allocations: 354 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.3742, allocations: 19.91 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.957e-06/0.3742, allocations: 0 / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.3744, allocations: 123.2 kB / 1.368 GB, free: 9.941 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.581e-05/0.3745, allocations: 9.688 kB / 1.368 GB, free: 9.926 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.3746, allocations: 47.78 kB / 1.368 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.3747, allocations: 67.64 kB / 1.368 GB, free: 9.812 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3747, allocations: 4 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.3751, allocations: 172 kB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.3752, allocations: 43.7 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.689e-05/0.3752, allocations: 55.73 kB / 1.369 GB, free: 9.543 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.3758, allocations: 286.7 kB / 1.369 GB, free: 9.262 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3758, allocations: 4 kB / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3758, allocations: 0 / 1.369 GB, free: 9.258 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3758, allocations: 0 / 1.369 GB, free: 9.258 MB / 1.061 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.0007848/0.3766, allocations: 426.7 kB / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3766, allocations: 12.03 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3768, allocations: 92.12 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.377, allocations: 237.1 kB / 1.37 GB, free: 8.457 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/0.3771, allocations: 154.9 kB / 1.37 GB, free: 8.305 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.038e-05/0.3772, allocations: 154.9 kB / 1.37 GB, free: 8.152 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.973e-05/0.3773, allocations: 117 kB / 1.37 GB, free: 8.031 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.3773, allocations: 75.28 kB / 1.37 GB, free: 7.957 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.967e-05/0.3774, allocations: 154.6 kB / 1.37 GB, free: 7.805 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.918e-05/0.3775, allocations: 154.6 kB / 1.37 GB, free: 7.652 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.3775, allocations: 154.5 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.378, allocations: 461.4 kB / 1.371 GB, free: 7.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.3781, allocations: 173.1 kB / 1.371 GB, free: 6.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.3782, allocations: 80.14 kB / 1.371 GB, free: 6.758 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.3782, allocations: 75.28 kB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.3783, allocations: 109.8 kB / 1.371 GB, free: 6.566 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3783, allocations: 0 / 1.371 GB, free: 6.566 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001819/0.3785, allocations: 57.5 kB / 1.371 GB, free: 6.504 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.3786, allocations: 130.6 kB / 1.372 GB, free: 6.363 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.379, allocations: 329.6 kB / 1.372 GB, free: 6.027 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.379, allocations: 25.7 kB / 1.372 GB, free: 5.996 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.3792, allocations: 124.4 kB / 1.372 GB, free: 5.867 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.3792, allocations: 0 / 1.372 GB, free: 5.867 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.543e-05/0.3792, allocations: 61.69 kB / 1.372 GB, free: 5.801 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3794, allocations: 326.8 kB / 1.372 GB, free: 5.473 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.3796, allocations: 59.95 kB / 1.372 GB, free: 5.414 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.3797, allocations: 125.7 kB / 1.373 GB, free: 5.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.38, allocations: 213.8 kB / 1.373 GB, free: 5.039 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.38, allocations: 0 / 1.373 GB, free: 5.039 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004419/0.3804, allocations: 229.4 kB / 1.373 GB, free: 4.809 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3804, allocations: 11.94 kB / 1.373 GB, free: 4.797 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3804, allocations: 0 / 1.373 GB, free: 4.797 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3805, allocations: 4 kB / 1.373 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-06/0.3805, allocations: 0 / 1.373 GB, free: 4.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3805, allocations: 7.938 kB / 1.373 GB, free: 4.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.3806, allocations: 35.59 kB / 1.373 GB, free: 4.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3806, allocations: 8 kB / 1.373 GB, free: 4.742 MB / 1.061 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.0002375/0.3808, allocations: 226.4 kB / 1.373 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.3809, allocations: 124.8 kB / 1.373 GB, free: 4.383 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.678e-05/0.381, allocations: 117.5 kB / 1.373 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.294e-05/0.3811, allocations: 184.3 kB / 1.374 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001658/0.3813, allocations: 180.2 kB / 1.374 GB, free: 3.887 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-05/0.3813, allocations: 180.2 kB / 1.374 GB, free: 3.703 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.3816, allocations: 400.8 kB / 1.374 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.503e-05/0.3817, allocations: 104.9 kB / 1.374 GB, free: 3.164 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.3818, allocations: 101 kB / 1.375 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.385e-05/0.3818, allocations: 188.2 kB / 1.375 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-05/0.3819, allocations: 184.2 kB / 1.375 GB, free: 2.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.845e-05/0.382, allocations: 184.2 kB / 1.375 GB, free: 2.492 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001546/0.3822, allocations: 184.2 kB / 1.375 GB, free: 2.305 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.3824, allocations: 311.7 kB / 1.376 GB, free: 1.977 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3825, allocations: 128.8 kB / 1.376 GB, free: 1.844 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.3826, allocations: 180.2 kB / 1.376 GB, free: 1.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.3827, allocations: 108.9 kB / 1.376 GB, free: 1.547 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.3828, allocations: 180.2 kB / 1.376 GB, free: 1.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.3829, allocations: 105.2 kB / 1.376 GB, free: 1.254 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002211/0.3831, allocations: 213.2 kB / 1.376 GB, free: 1.047 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3831, allocations: 0 / 1.376 GB, free: 1.047 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003848/0.3835, allocations: 75.86 kB / 1.377 GB, free: 0.9727 MB / 1.061 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.3838, allocations: 262.4 kB / 1.377 GB, free: 0.707 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.384, allocations: 84.27 kB / 1.377 GB, free: 0.625 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.384, allocations: 0 / 1.377 GB, free: 0.625 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.384, allocations: 4 kB / 1.377 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.3845, allocations: 464.2 kB / 1.377 GB, free: 168 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006076/0.3851, allocations: 421.2 kB / 1.378 GB, free: 15.72 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.3852, allocations: 126.7 kB / 1.378 GB, free: 15.58 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.3852, allocations: 11.5 kB / 1.378 GB, free: 15.57 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.3852, allocations: 4 kB / 1.378 GB, free: 15.56 MB / 1.076 GB Notification: Performance of Templates: time 0.004674/0.3899, allocations: 2.422 MB / 1.38 GB, free: 13.14 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.30463255988434]