Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 1.057 GB, free: 1.988 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3657, allocations: 160.7 MB / 1.214 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002763/0.3685, allocations: 1.425 MB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00355/0.372, allocations: 2.675 MB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.3721, allocations: 0 / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.3737, allocations: 0.5906 MB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.31e-05/0.3737, allocations: 15.91 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.23e-06/0.3737, allocations: 0 / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.374, allocations: 158.9 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.099e-05/0.3741, allocations: 32.39 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.043e-05/0.3742, allocations: 63.67 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.3743, allocations: 75.58 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.3743, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.3755, allocations: 475.2 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.3756, allocations: 31.84 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.3757, allocations: 99.36 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007007/0.3764, allocations: 446 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3764, allocations: 0 / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.977e-06/0.3764, allocations: 3.984 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3764, allocations: 3.938 kB / 1.22 GB, free: 10.86 MB / 0.9669 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.0008963/0.3773, allocations: 0.5526 MB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3773, allocations: 11.98 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.3775, allocations: 104 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.3778, allocations: 314.3 kB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.888e-05/0.3779, allocations: 154.9 kB / 1.221 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/0.3779, allocations: 158.9 kB / 1.221 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.453e-05/0.378, allocations: 101.5 kB / 1.221 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/0.3781, allocations: 79.45 kB / 1.221 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.958e-05/0.3781, allocations: 154.5 kB / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-05/0.3782, allocations: 154.6 kB / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.48e-05/0.3783, allocations: 150.6 kB / 1.222 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.3787, allocations: 0.5367 MB / 1.222 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.3788, allocations: 169.1 kB / 1.223 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.3788, allocations: 84.14 kB / 1.223 GB, free: 8 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.3789, allocations: 79.28 kB / 1.223 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/0.3789, allocations: 105.8 kB / 1.223 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3789, allocations: 0 / 1.223 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001926/0.3791, allocations: 65.38 kB / 1.223 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.3792, allocations: 126.7 kB / 1.223 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.3797, allocations: 441.3 kB / 1.223 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3797, allocations: 25.7 kB / 1.223 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.257e-05/0.3798, allocations: 132.6 kB / 1.224 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.3798, allocations: 0 / 1.224 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.3799, allocations: 93.66 kB / 1.224 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.38, allocations: 338.8 kB / 1.224 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3802, allocations: 100.5 kB / 1.224 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.3803, allocations: 161.3 kB / 1.224 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.3807, allocations: 305.6 kB / 1.224 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3807, allocations: 0 / 1.224 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005215/0.3812, allocations: 329.1 kB / 1.225 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3812, allocations: 4.219 kB / 1.225 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3812, allocations: 11.94 kB / 1.225 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3812, allocations: 3.938 kB / 1.225 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.3812, allocations: 4 kB / 1.225 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3813, allocations: 4 kB / 1.225 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.3814, allocations: 43.52 kB / 1.225 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3814, allocations: 7.984 kB / 1.225 GB, free: 5.559 MB / 0.9669 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.0002637/0.3817, allocations: 237.1 kB / 1.225 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.3818, allocations: 132.7 kB / 1.225 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.764e-05/0.3818, allocations: 122.8 kB / 1.225 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.44e-05/0.3819, allocations: 180.2 kB / 1.225 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.881e-05/0.382, allocations: 192.2 kB / 1.226 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.141e-05/0.3821, allocations: 176.3 kB / 1.226 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.3824, allocations: 481.1 kB / 1.226 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-05/0.3825, allocations: 101.1 kB / 1.226 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.3825, allocations: 108.9 kB / 1.227 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.3826, allocations: 180.3 kB / 1.227 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.763e-05/0.3827, allocations: 188.2 kB / 1.227 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.99e-05/0.3828, allocations: 180.2 kB / 1.227 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.062e-05/0.3828, allocations: 180.3 kB / 1.227 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.383, allocations: 327.6 kB / 1.228 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.3832, allocations: 201.9 kB / 1.228 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.3833, allocations: 184.1 kB / 1.228 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.3834, allocations: 105 kB / 1.228 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.3835, allocations: 184.2 kB / 1.228 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.503e-05/0.3835, allocations: 105 kB / 1.228 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002933/0.3838, allocations: 279.1 kB / 1.229 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3838, allocations: 0 / 1.229 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004274/0.3843, allocations: 83.88 kB / 1.229 GB, free: 1.496 MB / 0.9669 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.0004298/0.3847, allocations: 306.2 kB / 1.229 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.3849, allocations: 123.9 kB / 1.229 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3849, allocations: 3.938 kB / 1.229 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-06/0.3849, allocations: 4 kB / 1.229 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.3854, allocations: 465.1 kB / 1.229 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/0.3861, allocations: 0.5276 MB / 1.23 GB, free: 28 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.3866, allocations: 0.7704 MB / 1.231 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.3866, allocations: 7.438 kB / 1.231 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3866, allocations: 0 / 1.231 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.005685/0.3923, allocations: 3.161 MB / 1.234 GB, free: 12.07 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.111689144046977]