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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 103 kB / 16.36 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 198.3 kB / 17.3 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 68.81 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3795, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002899/0.3825, allocations: 1.408 MB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003546/0.3861, allocations: 2.679 MB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.3861, allocations: 0 / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.3879, allocations: 0.5829 MB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.388, allocations: 19.84 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.63e-06/0.388, allocations: 4 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.3883, allocations: 158.9 kB / 1.024 GB, free: 4.973 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.834e-05/0.3884, allocations: 28.41 kB / 1.024 GB, free: 4.941 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.184e-05/0.3885, allocations: 59.72 kB / 1.024 GB, free: 4.883 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3886, allocations: 79.53 kB / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.3887, allocations: 4 kB / 1.024 GB, free: 4.801 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.3897, allocations: 475.3 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.3898, allocations: 35.78 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.3899, allocations: 95.42 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006925/0.3906, allocations: 442.2 kB / 1.025 GB, free: 3.773 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3906, allocations: 0 / 1.025 GB, free: 3.773 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3907, allocations: 4 kB / 1.025 GB, free: 3.77 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.3907, allocations: 0 / 1.025 GB, free: 3.77 MB / 0.795 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.0009013/0.3916, allocations: 0.5489 MB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3916, allocations: 20.86 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.3918, allocations: 103.9 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.3921, allocations: 298.4 kB / 1.026 GB, free: 2.715 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.801e-05/0.3922, allocations: 150.9 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.088e-05/0.3922, allocations: 158.9 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.3923, allocations: 109.4 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.3924, allocations: 79.47 kB / 1.026 GB, free: 2.219 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.876e-05/0.3925, allocations: 158.5 kB / 1.026 GB, free: 2.062 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.3925, allocations: 150.6 kB / 1.026 GB, free: 1.914 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.652e-05/0.3926, allocations: 154.6 kB / 1.027 GB, free: 1.762 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.393, allocations: 0.5288 MB / 1.027 GB, free: 1.184 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.949e-05/0.3931, allocations: 177.1 kB / 1.027 GB, free: 1 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.3932, allocations: 84.14 kB / 1.027 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.3932, allocations: 75.28 kB / 1.027 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.41e-05/0.3933, allocations: 105.8 kB / 1.027 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.3933, allocations: 0 / 1.027 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.000197/0.3935, allocations: 61.34 kB / 1.028 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.3935, allocations: 126.7 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.394, allocations: 437.1 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.394, allocations: 29.7 kB / 1.028 GB, free: 56 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3942, allocations: 132.5 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-06/0.3942, allocations: 0 / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.715e-05/0.3943, allocations: 97.59 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3944, allocations: 342.8 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.3945, allocations: 100.5 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.3947, allocations: 157.3 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.395, allocations: 305.6 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.395, allocations: 4 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005121/0.3956, allocations: 329 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3956, allocations: 10.81 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3956, allocations: 3.938 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.3956, allocations: 4 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.3956, allocations: 0 / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.3956, allocations: 11.94 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.3958, allocations: 43.28 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.3958, allocations: 7.984 kB / 1.03 GB, free: 14.48 MB / 0.8106 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.0002364/0.3961, allocations: 251.3 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.241e-05/0.3961, allocations: 116.7 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.3962, allocations: 122.8 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.9e-05/0.3963, allocations: 176.3 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.258e-05/0.3964, allocations: 188.2 kB / 1.03 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.896e-05/0.3964, allocations: 184.3 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.3968, allocations: 473.2 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.593e-05/0.3968, allocations: 104.9 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.3969, allocations: 101 kB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.268e-05/0.3969, allocations: 184.2 kB / 1.031 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/0.397, allocations: 184.2 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.349e-05/0.3971, allocations: 180.5 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.785e-05/0.3972, allocations: 184.2 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.3973, allocations: 323.5 kB / 1.032 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.3974, allocations: 209.7 kB / 1.032 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-05/0.3975, allocations: 188.2 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3977, allocations: 104.9 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.3977, allocations: 184.2 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.3978, allocations: 104.9 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002784/0.3981, allocations: 279.1 kB / 1.033 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3981, allocations: 0 / 1.033 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003969/0.3985, allocations: 80 kB / 1.033 GB, free: 10.41 MB / 0.8106 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.0003922/0.3989, allocations: 310.9 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.3991, allocations: 159.9 kB / 1.034 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.3991, allocations: 0 / 1.034 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.3992, allocations: 4 kB / 1.034 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.3996, allocations: 465.6 kB / 1.034 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.4002, allocations: 0.5026 MB / 1.035 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.4006, allocations: 0.7743 MB / 1.035 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.217e-05/0.4006, allocations: 4 kB / 1.035 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.4006, allocations: 11.44 kB / 1.035 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.4006, allocations: 0 / 1.035 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of Templates: time 0.006454/0.4071, allocations: 3.067 MB / 1.038 GB, free: 5.078 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches