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.001938/0.001938, 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.002415/0.002415, allocations: 215.4 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.258/3.258, allocations: 0.4892 GB / 0.7951 GB, free: 35.46 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.002161/0.002161, allocations: 70 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3826, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002781/0.3853, allocations: 1.425 MB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00351/0.3889, allocations: 2.411 MB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.3889, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.3904, allocations: 0.5438 MB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.506e-05/0.3905, allocations: 27.78 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.408e-06/0.3905, allocations: 0 / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.3908, allocations: 154.9 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.219e-05/0.3908, allocations: 20.53 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.697e-05/0.3909, allocations: 59.72 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.3911, allocations: 79.58 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3911, allocations: 4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008705/0.3919, allocations: 403.5 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.392, allocations: 39.77 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.3921, allocations: 83.55 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.3927, allocations: 434 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3927, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3927, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.3927, allocations: 0 / 1.332 GB, free: 12.21 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.0008283/0.3936, allocations: 0.4899 MB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3936, allocations: 8.031 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.3938, allocations: 108 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.394, allocations: 240.6 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.282e-05/0.3941, allocations: 154.9 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.309e-05/0.3942, allocations: 158.9 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.123e-05/0.3943, allocations: 105.5 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.3943, allocations: 75.47 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.027e-05/0.3944, allocations: 158.5 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.087e-05/0.3944, allocations: 154.5 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.158e-05/0.3945, allocations: 154.6 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.3949, allocations: 489.3 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.395, allocations: 165.1 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.395, allocations: 88.14 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.3951, allocations: 79.22 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/0.3951, allocations: 113.9 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3951, allocations: 0 / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001819/0.3953, allocations: 57.45 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.3954, allocations: 134.7 kB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/0.3959, allocations: 429.3 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3959, allocations: 25.7 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.396, allocations: 140.6 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.396, allocations: 0 / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3961, allocations: 85.67 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3963, allocations: 346.8 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.3964, allocations: 92.59 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.3966, allocations: 173.9 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.3969, allocations: 301.6 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3969, allocations: 4 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005411/0.3975, allocations: 333 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3975, allocations: 8 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3975, allocations: 0 / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.3975, allocations: 7.938 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/0.3975, allocations: 0 / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3975, allocations: 4 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.3977, allocations: 43.52 kB / 1.337 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3977, allocations: 12.16 kB / 1.337 GB, free: 7.129 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.0002774/0.398, allocations: 247.6 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.3981, allocations: 128.8 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/0.3981, allocations: 114.8 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.459e-05/0.3982, allocations: 180.2 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.911e-05/0.3983, allocations: 180.3 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.468e-05/0.3984, allocations: 188.2 kB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.3987, allocations: 420.8 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-05/0.3987, allocations: 108.9 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.3988, allocations: 109 kB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.413e-05/0.3989, allocations: 180.2 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/0.399, allocations: 180.2 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-05/0.399, allocations: 184.2 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.046e-05/0.3991, allocations: 184.4 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.3993, allocations: 331.7 kB / 1.339 GB, free: 4.301 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.239e-05/0.3994, allocations: 128.7 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3995, allocations: 176.3 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3997, allocations: 112.9 kB / 1.34 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.3997, allocations: 188.2 kB / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.3998, allocations: 101 kB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002952/0.4001, allocations: 287 kB / 1.34 GB, free: 3.297 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4001, allocations: 0 / 1.34 GB, free: 3.297 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003899/0.4005, allocations: 79.94 kB / 1.34 GB, free: 3.219 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.0003907/0.4009, allocations: 302.2 kB / 1.34 GB, free: 2.914 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.4011, allocations: 123.9 kB / 1.341 GB, free: 2.793 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4011, allocations: 0 / 1.341 GB, free: 2.793 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.4011, allocations: 0 / 1.341 GB, free: 2.793 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.4015, allocations: 465.1 kB / 1.341 GB, free: 2.336 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007167/0.4023, allocations: 0.5283 MB / 1.342 GB, free: 1.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.4024, allocations: 160.2 kB / 1.342 GB, free: 1.594 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.4024, allocations: 11.44 kB / 1.342 GB, free: 1.582 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4024, allocations: 0 / 1.342 GB, free: 1.582 MB / 1.029 GB Notification: Performance of Templates: time 0.005462/0.4079, allocations: 3.258 MB / 1.345 GB, free: 14.32 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/jenkins1/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: 11.439060757867992]