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.1-maint.10.0.x/package.mo", uses=false) 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=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.007451/0.007451, allocations: 101.7 kB / 15.73 MB, free: 6.5 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.00142/0.00142, allocations: 199.9 kB / 16.68 MB, free: 6.375 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.819/2.819, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3648, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002819/0.3676, allocations: 1.408 MB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003253/0.3709, allocations: 2.666 MB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.371, allocations: 0 / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.3724, allocations: 0.5868 MB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.382e-05/0.3725, allocations: 23.78 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.968e-06/0.3725, allocations: 0 / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.3728, allocations: 162.9 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.088e-05/0.3728, allocations: 28.41 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.3729, allocations: 67.66 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.3731, allocations: 75.59 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.3731, allocations: 4 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.3741, allocations: 471.3 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.3742, allocations: 39.72 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.95e-05/0.3743, allocations: 95.42 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006993/0.375, allocations: 438 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.375, allocations: 0 / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.174e-06/0.375, allocations: 0 / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.375, allocations: 0 / 1.172 GB, free: 0.7266 MB / 0.92 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.0008482/0.3759, allocations: 0.5603 MB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3759, allocations: 15.98 kB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.3761, allocations: 112 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.3764, allocations: 302.4 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.86e-05/0.3766, allocations: 150.9 kB / 1.174 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.3767, allocations: 162.9 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.72e-05/0.3767, allocations: 105.5 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.3768, allocations: 79.47 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.3769, allocations: 158.5 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/0.377, allocations: 150.6 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.955e-05/0.3771, allocations: 150.6 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.3776, allocations: 0.5328 MB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.371e-05/0.3777, allocations: 177.1 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.3779, allocations: 80.14 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.3779, allocations: 75.28 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.378, allocations: 109.8 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.378, allocations: 0 / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0002144/0.3782, allocations: 65.44 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.3783, allocations: 126.7 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.3788, allocations: 437.3 kB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.3789, allocations: 29.7 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.282e-05/0.379, allocations: 132.6 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-06/0.379, allocations: 0 / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.456e-05/0.3791, allocations: 89.67 kB / 1.176 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3792, allocations: 342.8 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.3794, allocations: 104.5 kB / 1.177 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.3795, allocations: 157.3 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.3799, allocations: 305.6 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3799, allocations: 4 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004974/0.3804, allocations: 329.1 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3804, allocations: 4 kB / 1.177 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3804, allocations: 7.938 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3804, allocations: 0 / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.599e-06/0.3804, allocations: 4 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3805, allocations: 7.875 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.3806, allocations: 47.52 kB / 1.177 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3806, allocations: 4 kB / 1.177 GB, free: 11.42 MB / 0.9356 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.0002804/0.3809, allocations: 245.3 kB / 1.178 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.3811, allocations: 124.8 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.597e-05/0.3812, allocations: 122.8 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-05/0.3812, allocations: 180.2 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001492/0.3814, allocations: 184.2 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.641e-05/0.3815, allocations: 184.3 kB / 1.178 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.3819, allocations: 477.2 kB / 1.179 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.07e-05/0.3819, allocations: 104.9 kB / 1.179 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.382, allocations: 101 kB / 1.179 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.258e-05/0.3821, allocations: 184.2 kB / 1.179 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.3821, allocations: 188.2 kB / 1.179 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-05/0.3822, allocations: 180.5 kB / 1.18 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.933e-05/0.3823, allocations: 184.2 kB / 1.18 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.3825, allocations: 327.6 kB / 1.18 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3826, allocations: 197.9 kB / 1.18 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-05/0.3827, allocations: 192.2 kB / 1.18 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.3829, allocations: 104.9 kB / 1.181 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.3829, allocations: 180.2 kB / 1.181 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.383, allocations: 108.9 kB / 1.181 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002584/0.3832, allocations: 279.1 kB / 1.181 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3832, allocations: 0 / 1.181 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005183/0.3838, allocations: 83.88 kB / 1.181 GB, free: 7.352 MB / 0.9356 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.0004896/0.3843, allocations: 310.3 kB / 1.181 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.3846, allocations: 159.9 kB / 1.182 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3846, allocations: 0 / 1.182 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.3846, allocations: 0 / 1.182 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.3851, allocations: 469.5 kB / 1.182 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/0.3857, allocations: 0.4983 MB / 1.183 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.3861, allocations: 0.7743 MB / 1.183 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.735e-05/0.3862, allocations: 8.25 kB / 1.183 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.3862, allocations: 11.38 kB / 1.183 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.3862, allocations: 0 / 1.183 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of Templates: time 0.006645/0.3928, allocations: 3.077 MB / 1.186 GB, free: 1.996 MB / 0.9356 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 -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/jenkins/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