Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001088/0.001088, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002549, allocations: 440 kB / 10.41 MB, free: 284 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.00078/0.00078, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001806, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.932/0.932, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0878/1.02, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.408/2.408, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.252/2.66, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_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.[0-9,]+..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.389e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002969/0.002993, allocations: 1.515 MB / 0.8204 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003616/0.006609, allocations: 2.682 MB / 0.823 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.006644, allocations: 0 / 0.823 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.008249, allocations: 0.5668 MB / 0.8236 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.001e-05/0.008299, allocations: 23.78 kB / 0.8236 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.008303, allocations: 0 / 0.8236 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.008511, allocations: 182.8 kB / 0.8238 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.008564, allocations: 18.55 kB / 0.8238 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.008668, allocations: 83.8 kB / 0.8239 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.008775, allocations: 59.83 kB / 0.8239 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.008789, allocations: 0 / 0.8239 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006348/0.009424, allocations: 423.4 kB / 0.8243 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.009486, allocations: 35.78 kB / 0.8243 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.009555, allocations: 51.88 kB / 0.8244 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.009996, allocations: 410.2 kB / 0.8248 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.01001, allocations: 0 / 0.8248 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.245e-06/0.01001, allocations: 0 / 0.8248 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.01002, allocations: 0 / 0.8248 GB, free: 12.45 MB / 0.8073 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.0006483/0.01067, allocations: 0.5859 MB / 0.8254 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.0107, allocations: 12.03 kB / 0.8254 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.01079, allocations: 88.2 kB / 0.8255 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.01093, allocations: 243.8 kB / 0.8257 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.01097, allocations: 150.9 kB / 0.8258 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.01101, allocations: 158.9 kB / 0.826 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.703e-05/0.01106, allocations: 105.5 kB / 0.8261 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.01108, allocations: 75.47 kB / 0.8262 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.01112, allocations: 154.9 kB / 0.8263 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/0.01116, allocations: 170.9 kB / 0.8265 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.549e-05/0.0112, allocations: 158.5 kB / 0.8266 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.01136, allocations: 373.1 kB / 0.827 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.208e-05/0.01142, allocations: 173.1 kB / 0.8271 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.01144, allocations: 80.14 kB / 0.8272 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.01146, allocations: 75.28 kB / 0.8273 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.01149, allocations: 113.8 kB / 0.8274 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.01149, allocations: 0 / 0.8274 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 0.0001023/0.01159, allocations: 41.67 kB / 0.8274 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.01164, allocations: 126.7 kB / 0.8276 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.01184, allocations: 351 kB / 0.8279 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.01185, allocations: 33.7 kB / 0.8279 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.01191, allocations: 128.5 kB / 0.828 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.01191, allocations: 0 / 0.828 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.01196, allocations: 81.59 kB / 0.8281 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.01206, allocations: 346.7 kB / 0.8285 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.842e-05/0.01212, allocations: 51.47 kB / 0.8285 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.01218, allocations: 97.88 kB / 0.8286 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.01232, allocations: 209.5 kB / 0.8288 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.01232, allocations: 4 kB / 0.8288 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0002809/0.0126, allocations: 249.3 kB / 0.829 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.01262, allocations: 12.06 kB / 0.8291 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.01263, allocations: 0 / 0.8291 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.01264, allocations: 4 kB / 0.8291 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.014e-06/0.01264, allocations: 3.938 kB / 0.8291 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.01264, allocations: 4 kB / 0.8291 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.66e-05/0.01273, allocations: 43.52 kB / 0.8291 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.01274, allocations: 7.984 kB / 0.8291 GB, free: 7.77 MB / 0.8073 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.0001119/0.01285, allocations: 199.8 kB / 0.8293 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.0129, allocations: 113 kB / 0.8294 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.01294, allocations: 110.9 kB / 0.8295 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-05/0.01299, allocations: 188.2 kB / 0.8297 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.556e-05/0.01304, allocations: 180.2 kB / 0.8299 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000355/0.0134, allocations: 180.2 kB / 0.83 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.01356, allocations: 369.3 kB / 0.8304 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/0.01358, allocations: 105 kB / 0.8305 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.01361, allocations: 104.9 kB / 0.8306 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.01366, allocations: 128.8 kB / 0.8307 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.211e-05/0.0137, allocations: 180.2 kB / 0.8309 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.01375, allocations: 180.2 kB / 0.8311 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.113e-05/0.0138, allocations: 184.5 kB / 0.8312 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.09e-05/0.01384, allocations: 188.2 kB / 0.8314 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.299e-05/0.01393, allocations: 315.7 kB / 0.8317 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.01399, allocations: 180.3 kB / 0.8319 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.01406, allocations: 101 kB / 0.832 GB, free: 4.664 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.0141, allocations: 180.2 kB / 0.8322 GB, free: 4.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.01412, allocations: 105 kB / 0.8323 GB, free: 4.371 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.381e-05/0.0142, allocations: 124.7 kB / 0.8324 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.0142, allocations: 0 / 0.8324 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002336/0.01444, allocations: 87.92 kB / 0.8325 GB, free: 4.164 MB / 0.8073 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.000291/0.01473, allocations: 297.8 kB / 0.8327 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.01484, allocations: 89.97 kB / 0.8328 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.01485, allocations: 4 kB / 0.8328 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.01485, allocations: 0 / 0.8328 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.01509, allocations: 493.1 kB / 0.8333 GB, free: 3.285 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.01696, allocations: 452.8 kB / 0.8337 GB, free: 2.816 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.843e-05/0.01701, allocations: 95.3 kB / 0.8338 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.15e-05/0.01702, allocations: 4 kB / 0.8338 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.01706, allocations: 51.38 kB / 0.8339 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of SimCode: time 1.082e-06/0.01706, allocations: 0 / 0.8339 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of Templates: time 0.006984/0.02405, allocations: 4.343 MB / 0.8381 GB, free: 14.31 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.349676094017923]