Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001836/0.001836, allocations: 104.1 kB / 16.45 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.002229/0.002229, 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.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.352/3.352, allocations: 0.49 GB / 0.7915 GB, free: 33.55 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_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_12_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_12_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.002126/0.002126, allocations: 71.02 kB / 1.149 GB, free: 25.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3694, allocations: 176.1 MB / 1.321 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002762/0.3722, allocations: 1.422 MB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002651/0.3748, allocations: 1.935 MB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.3748, allocations: 0 / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.3759, allocations: 403.4 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.3759, allocations: 15.91 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 5.551e-06/0.3759, allocations: 3.938 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.3762, allocations: 115.2 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.86e-05/0.3762, allocations: 21.48 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.844e-05/0.3763, allocations: 51.72 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3764, allocations: 63.77 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.3764, allocations: 4 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004925/0.3769, allocations: 179.9 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.377, allocations: 31.84 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3771, allocations: 71.55 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000489/0.3776, allocations: 294.7 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3776, allocations: 0 / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3776, allocations: 0 / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.3776, allocations: 0 / 1.326 GB, free: 14.12 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.0008/0.3784, allocations: 0.4905 MB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3784, allocations: 12.03 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.3786, allocations: 92.12 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.3789, allocations: 295.4 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.898e-05/0.3789, allocations: 150.9 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.379, allocations: 166.9 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.16e-05/0.3791, allocations: 105.1 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.3792, allocations: 75.28 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.3792, allocations: 150.6 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/0.3793, allocations: 150.6 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.342e-05/0.3794, allocations: 158.6 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.3798, allocations: 0.5056 MB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.3799, allocations: 169.1 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/0.38, allocations: 84.14 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.38, allocations: 75.28 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.441e-05/0.3801, allocations: 121.8 kB / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3801, allocations: 0 / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001724/0.3802, allocations: 41.61 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.416e-05/0.3803, allocations: 134.6 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.3807, allocations: 322.3 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3807, allocations: 29.7 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3808, allocations: 112.5 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-06/0.3808, allocations: 7.984 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.3809, allocations: 65.67 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.381, allocations: 326.8 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.761e-05/0.3811, allocations: 63.95 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3813, allocations: 114 kB / 1.33 GB, free: 9.922 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.3816, allocations: 213.8 kB / 1.33 GB, free: 9.691 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3816, allocations: 7.875 kB / 1.33 GB, free: 9.684 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004411/0.382, allocations: 237.2 kB / 1.33 GB, free: 9.445 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.382, allocations: 8 kB / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3821, allocations: 0 / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3821, allocations: 4 kB / 1.33 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.509e-06/0.3821, allocations: 4 kB / 1.33 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3821, allocations: 12.16 kB / 1.33 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.3822, allocations: 23.73 kB / 1.33 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.3822, allocations: 4 kB / 1.33 GB, free: 9.391 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.0002307/0.3824, allocations: 225.1 kB / 1.33 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.3825, allocations: 124.8 kB / 1.33 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.623e-05/0.3826, allocations: 113.8 kB / 1.33 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001011/0.3827, allocations: 184.3 kB / 1.331 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.403e-05/0.3828, allocations: 180.2 kB / 1.331 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.523e-05/0.3829, allocations: 176.3 kB / 1.331 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.3832, allocations: 453.2 kB / 1.331 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.593e-05/0.3833, allocations: 108.9 kB / 1.332 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.3833, allocations: 112.9 kB / 1.332 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.474e-05/0.3834, allocations: 188.2 kB / 1.332 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.694e-05/0.3835, allocations: 176.3 kB / 1.332 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-05/0.3836, allocations: 176.3 kB / 1.332 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-05/0.3837, allocations: 184.2 kB / 1.332 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.3838, allocations: 327.6 kB / 1.333 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.384, allocations: 193.9 kB / 1.333 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.3841, allocations: 184.2 kB / 1.333 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3842, allocations: 105 kB / 1.333 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.3843, allocations: 180.3 kB / 1.333 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/0.3844, allocations: 109.2 kB / 1.333 GB, free: 5.738 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002423/0.3846, allocations: 217.9 kB / 1.334 GB, free: 5.527 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3846, allocations: 0 / 1.334 GB, free: 5.527 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000378/0.385, allocations: 67.88 kB / 1.334 GB, free: 5.461 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.0003665/0.3854, allocations: 274.4 kB / 1.334 GB, free: 5.184 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3856, allocations: 79.89 kB / 1.334 GB, free: 5.105 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3856, allocations: 0 / 1.334 GB, free: 5.105 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.3856, allocations: 7.875 kB / 1.334 GB, free: 5.098 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.386, allocations: 466.2 kB / 1.334 GB, free: 4.641 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.3866, allocations: 401 kB / 1.335 GB, free: 4.219 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.3871, allocations: 0.7507 MB / 1.336 GB, free: 3.441 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.604e-05/0.3871, allocations: 4 kB / 1.336 GB, free: 3.438 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.3871, allocations: 7.438 kB / 1.336 GB, free: 3.43 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3871, allocations: 4 kB / 1.336 GB, free: 3.426 MB / 1.029 GB Notification: Performance of Templates: time 0.006367/0.3935, allocations: 2.308 MB / 1.338 GB, free: 1.129 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.375152075197548]