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.001385/0.001385, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001508/0.001508, allocations: 221.9 kB / 23.01 MB, free: 4.609 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.248/3.248, allocations: 0.49 GB / 0.7958 GB, free: 33.4 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.002229/0.002229, allocations: 66.56 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3448, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002747/0.3476, allocations: 1.438 MB / 1.329 GB, free: 52 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.3501, allocations: 1.972 MB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.3502, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.3512, allocations: 394.8 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.3513, allocations: 15.86 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.448e-06/0.3513, allocations: 0 / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.3515, allocations: 127.2 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.648e-05/0.3516, allocations: 9.672 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.574e-05/0.3517, allocations: 51.78 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.3518, allocations: 59.77 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.3518, allocations: 3.938 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000474/0.3523, allocations: 183.9 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.3523, allocations: 27.91 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.563e-05/0.3524, allocations: 71.55 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.3529, allocations: 298.7 kB / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3529, allocations: 4 kB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3529, allocations: 0 / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.3529, allocations: 0 / 1.332 GB, free: 12.84 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.0007249/0.3536, allocations: 421.2 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3537, allocations: 8.031 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.3538, allocations: 100.1 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.3541, allocations: 229.1 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/0.3541, allocations: 158.9 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.879e-05/0.3542, allocations: 154.9 kB / 1.333 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.255e-05/0.3543, allocations: 113.1 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.3543, allocations: 75.28 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/0.3544, allocations: 154.5 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.337e-05/0.3545, allocations: 154.6 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.3545, allocations: 150.6 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.3549, allocations: 488.8 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.355, allocations: 169.1 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.3551, allocations: 84.14 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.3551, allocations: 87.2 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.175e-05/0.3552, allocations: 109.8 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3552, allocations: 0 / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001707/0.3554, allocations: 41.61 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.3554, allocations: 130.7 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.3558, allocations: 329.6 kB / 1.335 GB, free: 9.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3558, allocations: 25.7 kB / 1.335 GB, free: 9.559 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.111e-05/0.3559, allocations: 120.4 kB / 1.335 GB, free: 9.438 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.3559, allocations: 3.938 kB / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.162e-05/0.356, allocations: 61.69 kB / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3561, allocations: 330.8 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.544e-05/0.3562, allocations: 63.95 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.3564, allocations: 125.9 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.3566, allocations: 213.8 kB / 1.336 GB, free: 8.598 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3566, allocations: 0 / 1.336 GB, free: 8.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004462/0.3571, allocations: 237.2 kB / 1.336 GB, free: 8.359 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.3571, allocations: 8 kB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3571, allocations: 224 / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3571, allocations: 8 kB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.3571, allocations: 0 / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.3571, allocations: 4 kB / 1.336 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.3573, allocations: 35.72 kB / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3573, allocations: 4 kB / 1.336 GB, free: 8.301 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.0002218/0.3575, allocations: 221.6 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.3576, allocations: 124.8 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.001e-05/0.3576, allocations: 109.8 kB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.69e-05/0.3577, allocations: 184.2 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.733e-05/0.3578, allocations: 184.3 kB / 1.337 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.303e-05/0.3579, allocations: 184.2 kB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.3582, allocations: 416.3 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.465e-05/0.3583, allocations: 109 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.3583, allocations: 112.8 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.493e-05/0.3584, allocations: 180.3 kB / 1.338 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.852e-05/0.3585, allocations: 180.2 kB / 1.338 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-05/0.3586, allocations: 180.3 kB / 1.338 GB, free: 6.027 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-05/0.3587, allocations: 184.2 kB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3588, allocations: 319.7 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.3589, allocations: 128.8 kB / 1.339 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.3591, allocations: 180.2 kB / 1.339 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3592, allocations: 104.9 kB / 1.339 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/0.3593, allocations: 180.3 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.3593, allocations: 105.3 kB / 1.339 GB, free: 4.785 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002185/0.3595, allocations: 213.2 kB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3595, allocations: 0 / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003755/0.3599, allocations: 67.88 kB / 1.339 GB, free: 4.508 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.0003524/0.3603, allocations: 284.6 kB / 1.34 GB, free: 4.223 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.3604, allocations: 83.83 kB / 1.34 GB, free: 4.141 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3604, allocations: 0 / 1.34 GB, free: 4.141 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.3604, allocations: 0 / 1.34 GB, free: 4.141 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.3609, allocations: 471.5 kB / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.3614, allocations: 415.2 kB / 1.341 GB, free: 3.242 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.3618, allocations: 0.7468 MB / 1.341 GB, free: 2.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.3619, allocations: 11.44 kB / 1.341 GB, free: 2.457 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3619, allocations: 0 / 1.341 GB, free: 2.457 MB / 1.029 GB Notification: Performance of Templates: time 0.004481/0.3663, allocations: 2.349 MB / 1.344 GB, free: 112 kB / 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/jenkins1/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: 11.691374924994307]