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.000797/0.000797, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001849, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000699/0.000699, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008573/0.001556, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9225/0.9225, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0921/1.015, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.782/1.782, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4602/2.242, allocations: 123.3 MB / 0.728 GB, free: 5.852 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+..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.[0-9,]+..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0.875 kB / 0.7293 GB, free: 4.586 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.507e-05, allocations: 8.781 kB / 0.7293 GB, free: 4.578 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002682/0.002707, allocations: 1.498 MB / 0.7308 GB, free: 3.09 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002134/0.004841, allocations: 1.96 MB / 0.7327 GB, free: 1.156 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.004866, allocations: 0 / 0.7327 GB, free: 1.156 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009257/0.005791, allocations: 360.5 kB / 0.733 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-05/0.005845, allocations: 24.34 kB / 0.733 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.527e-06/0.005848, allocations: 0.875 kB / 0.733 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.006051, allocations: 135 kB / 0.7332 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.448e-05/0.006105, allocations: 19.09 kB / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.006212, allocations: 63.88 kB / 0.7333 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.006316, allocations: 52.48 kB / 0.7333 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.006333, allocations: 4 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.006752, allocations: 185.7 kB / 0.7335 GB, free: 340 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.006805, allocations: 27.86 kB / 0.7335 GB, free: 312 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/0.006878, allocations: 44.88 kB / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.007276, allocations: 271 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.00729, allocations: 0 / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.022e-06/0.007291, allocations: 0.5 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.007308, allocations: 3.938 kB / 0.7338 GB, free: 15.99 MB / 0.7136 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.0006413/0.00795, allocations: 0.5062 MB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.007981, allocations: 8.031 kB / 0.7343 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.008095, allocations: 88.2 kB / 0.7344 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.008244, allocations: 224.9 kB / 0.7346 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.008288, allocations: 151.9 kB / 0.7348 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.008333, allocations: 154.9 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.124e-05/0.008384, allocations: 101.5 kB / 0.735 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.719e-05/0.008441, allocations: 83.97 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.008485, allocations: 163.5 kB / 0.7352 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.008526, allocations: 150.6 kB / 0.7354 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.102e-05/0.008567, allocations: 152.5 kB / 0.7355 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.008762, allocations: 369.2 kB / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.529e-05/0.008827, allocations: 169.1 kB / 0.736 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.008852, allocations: 80.14 kB / 0.7361 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.008873, allocations: 83.22 kB / 0.7362 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.00891, allocations: 111 kB / 0.7363 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.008911, allocations: 0 / 0.7363 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.000126/0.009037, allocations: 37.69 kB / 0.7363 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.009093, allocations: 131.2 kB / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.009302, allocations: 264.7 kB / 0.7367 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.009312, allocations: 26.42 kB / 0.7367 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.009367, allocations: 124.4 kB / 0.7369 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.009368, allocations: 0.5312 kB / 0.7369 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.009426, allocations: 58.55 kB / 0.7369 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.009522, allocations: 330.8 kB / 0.7372 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-05/0.009575, allocations: 30.81 kB / 0.7373 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.009637, allocations: 71 kB / 0.7373 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.00978, allocations: 153.7 kB / 0.7375 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.009784, allocations: 4.656 kB / 0.7375 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002897/0.01007, allocations: 183 kB / 0.7377 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01009, allocations: 7.281 kB / 0.7377 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.0101, allocations: 4 kB / 0.7377 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.01011, allocations: 0 / 0.7377 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.484e-06/0.01011, allocations: 7.938 kB / 0.7377 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.01012, allocations: 5.281 kB / 0.7377 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.742e-05/0.01021, allocations: 35.67 kB / 0.7377 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.01022, allocations: 4 kB / 0.7377 GB, free: 11.77 MB / 0.7136 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.0001105/0.01033, allocations: 196.6 kB / 0.7379 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.01039, allocations: 109.7 kB / 0.738 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.01043, allocations: 117.7 kB / 0.7381 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.806e-05/0.01048, allocations: 177.1 kB / 0.7383 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.012e-05/0.01053, allocations: 184.3 kB / 0.7385 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.807e-05/0.01059, allocations: 189.8 kB / 0.7387 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.01076, allocations: 341.4 kB / 0.739 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.863e-05/0.01079, allocations: 104.9 kB / 0.7391 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.01082, allocations: 113 kB / 0.7392 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.01087, allocations: 113.6 kB / 0.7393 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.056e-05/0.01092, allocations: 191.2 kB / 0.7395 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.01097, allocations: 180.2 kB / 0.7396 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.717e-05/0.01102, allocations: 180.2 kB / 0.7398 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.76e-05/0.01107, allocations: 184.2 kB / 0.74 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.01118, allocations: 315.7 kB / 0.7403 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.01125, allocations: 176.3 kB / 0.7405 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.01135, allocations: 108.9 kB / 0.7406 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.01139, allocations: 176.3 kB / 0.7407 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.01143, allocations: 111.3 kB / 0.7408 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.566e-05/0.01151, allocations: 86.75 kB / 0.7409 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.01151, allocations: 0 / 0.7409 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002756/0.01179, allocations: 67.88 kB / 0.741 GB, free: 8.254 MB / 0.7136 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.0002744/0.01206, allocations: 256.4 kB / 0.7412 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.01218, allocations: 61.56 kB / 0.7413 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.01218, allocations: 0 / 0.7413 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.01218, allocations: 1.125 kB / 0.7413 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.01246, allocations: 484.2 kB / 0.7418 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.01494, allocations: 369.3 kB / 0.7421 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.01499, allocations: 79.31 kB / 0.7422 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.098e-05/0.015, allocations: 0.7188 kB / 0.7422 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.01505, allocations: 55.38 kB / 0.7422 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.01505, allocations: 1.5 kB / 0.7422 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of Templates: time 0.005716/0.02077, allocations: 2.797 MB / 0.745 GB, free: 4.277 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.758387606590986]