Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001278/0.001278, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001414/0.001414, allocations: 212.5 kB / 23.03 MB, free: 4.863 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.171/3.171, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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_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_12_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_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [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.002005/0.002005, allocations: 69.33 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3711, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002627/0.3737, allocations: 1.424 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.377, allocations: 2.402 MB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.377, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.3784, allocations: 0.5452 MB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.3785, allocations: 19.91 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.518e-06/0.3785, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.3787, allocations: 158.9 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.624e-05/0.3788, allocations: 20.52 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.321e-05/0.3789, allocations: 63.73 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.379, allocations: 79.52 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.3791, allocations: 7.938 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008562/0.3799, allocations: 411.5 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.079e-05/0.38, allocations: 31.84 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3801, allocations: 83.55 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007539/0.3808, allocations: 434 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3808, allocations: 4 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3808, allocations: 3.938 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.3808, allocations: 0 / 1.333 GB, free: 11.25 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.0007792/0.3816, allocations: 484.8 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3817, allocations: 8.031 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.3818, allocations: 108 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.3821, allocations: 248.5 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.3821, allocations: 162.9 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.3822, allocations: 150.9 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.515e-05/0.3823, allocations: 105.5 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.3823, allocations: 75.47 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.867e-05/0.3824, allocations: 154.5 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-05/0.3825, allocations: 150.6 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.349e-05/0.3825, allocations: 150.6 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.3829, allocations: 0.4895 MB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.866e-05/0.383, allocations: 173.1 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.383, allocations: 84.12 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.3831, allocations: 75.28 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/0.3831, allocations: 113.9 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3831, allocations: 0 / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001783/0.3833, allocations: 65.39 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.3834, allocations: 126.7 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/0.3838, allocations: 429.3 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3838, allocations: 29.7 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.3839, allocations: 128.6 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-06/0.3839, allocations: 0 / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3841, allocations: 101.7 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3842, allocations: 334.8 kB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.3843, allocations: 100.6 kB / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.3845, allocations: 169.8 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.3849, allocations: 313.5 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3849, allocations: 0 / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005067/0.3854, allocations: 325.1 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3854, allocations: 4 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3854, allocations: 7.938 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3854, allocations: 3.938 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-06/0.3854, allocations: 12.2 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3854, allocations: 0 / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.3856, allocations: 47.52 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3856, allocations: 4 kB / 1.337 GB, free: 6.176 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.0002497/0.3858, allocations: 241.6 kB / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.461e-05/0.3859, allocations: 128.7 kB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.271e-05/0.386, allocations: 114.9 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.052e-05/0.3861, allocations: 184.1 kB / 1.338 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.322e-05/0.3861, allocations: 180.3 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.626e-05/0.3862, allocations: 184.3 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.3865, allocations: 424.7 kB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-05/0.3866, allocations: 105 kB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.3866, allocations: 108.9 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-05/0.3867, allocations: 176.3 kB / 1.339 GB, free: 4.262 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/0.3868, allocations: 180.3 kB / 1.339 GB, free: 4.078 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.401e-05/0.3868, allocations: 184.5 kB / 1.34 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.337e-05/0.3869, allocations: 184.2 kB / 1.34 GB, free: 3.703 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.3871, allocations: 331.7 kB / 1.34 GB, free: 3.355 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.534e-05/0.3872, allocations: 128.8 kB / 1.34 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3873, allocations: 180.2 kB / 1.34 GB, free: 3.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3874, allocations: 109 kB / 1.34 GB, free: 2.926 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.3875, allocations: 192.1 kB / 1.341 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.3876, allocations: 109 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002908/0.3879, allocations: 275.1 kB / 1.341 GB, free: 2.348 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3879, allocations: 0 / 1.341 GB, free: 2.348 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004065/0.3883, allocations: 83.92 kB / 1.341 GB, free: 2.266 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.0004124/0.3887, allocations: 304.6 kB / 1.341 GB, free: 1.961 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.3889, allocations: 127.8 kB / 1.341 GB, free: 1.836 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3889, allocations: 448 / 1.341 GB, free: 1.836 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.3889, allocations: 4 kB / 1.341 GB, free: 1.832 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.3893, allocations: 465.1 kB / 1.342 GB, free: 1.375 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007121/0.3901, allocations: 0.524 MB / 1.342 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.3902, allocations: 168.1 kB / 1.343 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.3902, allocations: 7.438 kB / 1.343 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3902, allocations: 0 / 1.343 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of Templates: time 0.005495/0.3957, allocations: 3.247 MB / 1.346 GB, free: 13.38 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.316690349951386]