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.00163/0.00163, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001884/0.001884, allocations: 213.4 kB / 22.24 MB, free: 5.262 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.785 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.667/3.667, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.002193/0.002193, allocations: 71.7 kB / 1.186 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5179/0.5201, allocations: 181.9 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003167/0.5232, allocations: 1.42 MB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002697/0.5259, allocations: 1.769 MB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.526, allocations: 4 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.5271, allocations: 342.1 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.64e-05/0.5272, allocations: 27.84 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.25e-06/0.5272, allocations: 0 / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.5274, allocations: 119.2 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.5275, allocations: 5.688 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.263e-05/0.5276, allocations: 47.8 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.5277, allocations: 63.69 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.5277, allocations: 4 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.5281, allocations: 179.9 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.5282, allocations: 35.83 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.031e-05/0.5283, allocations: 59.67 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004761/0.5288, allocations: 290.7 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5288, allocations: 0 / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5288, allocations: 0 / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.5288, allocations: 4 kB / 1.368 GB, free: 9.156 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.0008628/0.5296, allocations: 417.2 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.5297, allocations: 12.03 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.5299, allocations: 104.1 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.5301, allocations: 233.1 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.925e-05/0.5302, allocations: 150.9 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.5304, allocations: 158.9 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.437e-05/0.5305, allocations: 109.1 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/0.5305, allocations: 79.22 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.5307, allocations: 154.6 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.948e-05/0.5308, allocations: 154.5 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.5308, allocations: 150.6 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.5313, allocations: 457.4 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.5314, allocations: 169.1 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.5315, allocations: 88.08 kB / 1.37 GB, free: 6.664 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.799e-05/0.5315, allocations: 75.28 kB / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.551e-05/0.5316, allocations: 117.8 kB / 1.371 GB, free: 6.465 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.5316, allocations: 0 / 1.371 GB, free: 6.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.000208/0.5318, allocations: 49.5 kB / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/0.5319, allocations: 126.7 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.5323, allocations: 329.5 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.5324, allocations: 25.7 kB / 1.371 GB, free: 5.906 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5325, allocations: 120.5 kB / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.5325, allocations: 0 / 1.371 GB, free: 5.781 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/0.5326, allocations: 69.67 kB / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5328, allocations: 326.8 kB / 1.372 GB, free: 5.379 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.5329, allocations: 63.95 kB / 1.372 GB, free: 5.316 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.533, allocations: 125.7 kB / 1.372 GB, free: 5.172 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.5333, allocations: 209.8 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.5333, allocations: 0 / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005024/0.5338, allocations: 229.4 kB / 1.372 GB, free: 4.715 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.5338, allocations: 15.88 kB / 1.372 GB, free: 4.699 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5338, allocations: 0 / 1.372 GB, free: 4.699 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.5338, allocations: 4 kB / 1.372 GB, free: 4.695 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.5338, allocations: 224 / 1.372 GB, free: 4.695 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5339, allocations: 8 kB / 1.372 GB, free: 4.688 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.534, allocations: 23.73 kB / 1.372 GB, free: 4.664 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.534, allocations: 4 kB / 1.372 GB, free: 4.66 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.000282/0.5343, allocations: 229 kB / 1.372 GB, free: 4.426 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-05/0.5344, allocations: 124.8 kB / 1.373 GB, free: 4.297 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.199e-05/0.5344, allocations: 121.5 kB / 1.373 GB, free: 4.168 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.847e-05/0.5345, allocations: 180.3 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001572/0.5347, allocations: 180.3 kB / 1.373 GB, free: 3.801 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.103e-05/0.5348, allocations: 180.2 kB / 1.373 GB, free: 3.617 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.5351, allocations: 404.8 kB / 1.374 GB, free: 3.184 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-05/0.5352, allocations: 108.9 kB / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.5352, allocations: 104.9 kB / 1.374 GB, free: 2.961 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/0.5353, allocations: 192.3 kB / 1.374 GB, free: 2.766 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.5e-05/0.5354, allocations: 184.1 kB / 1.374 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.311e-05/0.5355, allocations: 176.3 kB / 1.374 GB, free: 2.398 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001598/0.5357, allocations: 188.2 kB / 1.374 GB, free: 2.207 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.5359, allocations: 311.7 kB / 1.375 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.536, allocations: 128.8 kB / 1.375 GB, free: 1.746 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.5361, allocations: 180.2 kB / 1.375 GB, free: 1.562 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.5363, allocations: 108.9 kB / 1.375 GB, free: 1.449 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.5364, allocations: 180.3 kB / 1.375 GB, free: 1.266 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/0.5365, allocations: 105.3 kB / 1.375 GB, free: 1.156 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002405/0.5367, allocations: 217.2 kB / 1.376 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.5367, allocations: 3.938 kB / 1.376 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004541/0.5372, allocations: 67.88 kB / 1.376 GB, free: 0.875 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.0003887/0.5375, allocations: 274.4 kB / 1.376 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.5377, allocations: 83.89 kB / 1.376 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.5377, allocations: 4 kB / 1.376 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.5377, allocations: 0 / 1.376 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.5382, allocations: 456.2 kB / 1.377 GB, free: 64 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.5389, allocations: 401.3 kB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.539, allocations: 135.1 kB / 1.377 GB, free: 15.49 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.647e-05/0.539, allocations: 7.984 kB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.539, allocations: 7.438 kB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.539, allocations: 0 / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of Templates: time 0.006669/0.5457, allocations: 2.481 MB / 1.379 GB, free: 13.02 MB / 1.076 GB " [Timeout remaining time 299] 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/jenkins/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: 10.477476358413696]