Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_low,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_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,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_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008058/0.008058, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001207/0.001207, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.468/2.468, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 70.84 kB / 0.9508 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.362, allocations: 140.4 MB / 1.088 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003105/0.3652, allocations: 1.395 MB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003194/0.3684, allocations: 1.921 MB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.702e-05/0.3685, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.3698, allocations: 399 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.522e-05/0.3699, allocations: 15.92 kB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.71e-06/0.3699, allocations: 0 / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000268/0.3702, allocations: 139 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.3703, allocations: 17.5 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.549e-05/0.3703, allocations: 43.84 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.3705, allocations: 59.72 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3705, allocations: 3.984 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000587/0.3711, allocations: 187.9 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.3712, allocations: 31.84 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.175e-05/0.3713, allocations: 67.61 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.372, allocations: 294.7 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.372, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3721, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.3721, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 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.001156/0.3732, allocations: 490.4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.906e-05/0.3733, allocations: 12.03 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.3735, allocations: 108 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.3738, allocations: 283.4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/0.3738, allocations: 162.9 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.374, allocations: 154.9 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.494e-05/0.3741, allocations: 105.1 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.62e-05/0.3742, allocations: 79.28 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/0.3743, allocations: 154.5 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/0.3744, allocations: 154.6 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.941e-05/0.3745, allocations: 150.6 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.375, allocations: 0.5094 MB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.3751, allocations: 169.1 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.11e-05/0.3751, allocations: 84.14 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.3752, allocations: 75.28 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.411e-05/0.3752, allocations: 109.8 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.3752, allocations: 0 / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001978/0.3754, allocations: 53.55 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.3755, allocations: 126.7 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.3759, allocations: 326.3 kB / 1.096 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3759, allocations: 29.7 kB / 1.096 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.3761, allocations: 116.4 kB / 1.096 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-06/0.3761, allocations: 4 kB / 1.096 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.3762, allocations: 57.69 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002338/0.3764, allocations: 334.8 kB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.3767, allocations: 63.95 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3768, allocations: 114 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.3773, allocations: 221.8 kB / 1.096 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3773, allocations: 4 kB / 1.096 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006329/0.3779, allocations: 233.2 kB / 1.097 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.378, allocations: 4 kB / 1.097 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.378, allocations: 4 kB / 1.097 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.378, allocations: 0 / 1.097 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-06/0.378, allocations: 7.938 kB / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.378, allocations: 0 / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.3782, allocations: 31.72 kB / 1.097 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.3784, allocations: 4 kB / 1.097 GB, free: 8.246 MB / 0.8575 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.0003082/0.3787, allocations: 230.4 kB / 1.097 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.3789, allocations: 136.6 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.3791, allocations: 109.9 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.031e-05/0.3792, allocations: 176.3 kB / 1.097 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002057/0.3795, allocations: 180.2 kB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.88e-05/0.3796, allocations: 192.3 kB / 1.098 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.3801, allocations: 449.1 kB / 1.098 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.72e-05/0.3801, allocations: 113 kB / 1.098 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.3802, allocations: 104.9 kB / 1.098 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.258e-05/0.3803, allocations: 184.2 kB / 1.098 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.553e-05/0.3804, allocations: 176.3 kB / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.843e-05/0.3804, allocations: 184.2 kB / 1.099 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.758e-05/0.3805, allocations: 176.3 kB / 1.099 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.3807, allocations: 323.7 kB / 1.099 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.3808, allocations: 197.9 kB / 1.099 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.381, allocations: 188.2 kB / 1.1 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3811, allocations: 105 kB / 1.1 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/0.3812, allocations: 184.2 kB / 1.1 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/0.3813, allocations: 101.3 kB / 1.1 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002337/0.3815, allocations: 217.9 kB / 1.1 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3815, allocations: 0 / 1.1 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004396/0.382, allocations: 59.94 kB / 1.1 GB, free: 4.324 MB / 0.8575 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.0005516/0.3825, allocations: 290.3 kB / 1.101 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3828, allocations: 100.3 kB / 1.101 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3829, allocations: 4.062 kB / 1.101 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.3829, allocations: 0 / 1.101 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.3834, allocations: 476.1 kB / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.384, allocations: 389 kB / 1.102 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/0.3846, allocations: 0.7431 MB / 1.102 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.3847, allocations: 4 kB / 1.102 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.3847, allocations: 7.438 kB / 1.102 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of SimCode: time 3.5e-07/0.3847, allocations: 0 / 1.102 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of Templates: time 0.006296/0.391, allocations: 2.294 MB / 1.104 GB, free: 15.98 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches