Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005661/0.005661, allocations: 97.67 kB / 15.73 MB, free: 6.055 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.002284/0.002284, allocations: 201.5 kB / 16.68 MB, free: 5.977 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.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.861/2.861, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3641, allocations: 159.1 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002694/0.3668, allocations: 1.422 MB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003435/0.3702, allocations: 2.666 MB / 1.225 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.3702, allocations: 0 / 1.225 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.3718, allocations: 0.5903 MB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.278e-05/0.3719, allocations: 11.92 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.301e-06/0.3719, allocations: 4 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.3722, allocations: 162.9 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.3723, allocations: 28.39 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.3723, allocations: 63.72 kB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.3725, allocations: 79.58 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.3725, allocations: 0 / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009752/0.3735, allocations: 467.3 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.3735, allocations: 35.78 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3736, allocations: 107.3 kB / 1.226 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000604/0.3743, allocations: 434 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.3743, allocations: 8 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3743, allocations: 0 / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3743, allocations: 0 / 1.226 GB, free: 7.773 MB / 0.9825 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.0007992/0.3751, allocations: 0.5564 MB / 1.227 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3751, allocations: 8.031 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.3753, allocations: 108 kB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3755, allocations: 310.3 kB / 1.227 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.99e-05/0.3756, allocations: 158.9 kB / 1.228 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.3757, allocations: 154.9 kB / 1.228 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.124e-05/0.3757, allocations: 105.5 kB / 1.228 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.3757, allocations: 75.47 kB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.3758, allocations: 154.5 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.3758, allocations: 154.6 kB / 1.228 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.341e-05/0.3759, allocations: 158.6 kB / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.3763, allocations: 0.5367 MB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.454e-05/0.3764, allocations: 169.1 kB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.3764, allocations: 84.14 kB / 1.229 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.3764, allocations: 75.28 kB / 1.229 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.3765, allocations: 109.8 kB / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3765, allocations: 0 / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001754/0.3767, allocations: 65.38 kB / 1.229 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.3767, allocations: 126.7 kB / 1.229 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.3771, allocations: 441.3 kB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.3772, allocations: 25.7 kB / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.3772, allocations: 128.6 kB / 1.23 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.3772, allocations: 0 / 1.23 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.223e-05/0.3773, allocations: 93.67 kB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3775, allocations: 338.8 kB / 1.23 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.3776, allocations: 96.52 kB / 1.231 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.3778, allocations: 165.3 kB / 1.231 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.3781, allocations: 305.6 kB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3781, allocations: 0 / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005082/0.3786, allocations: 333 kB / 1.231 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3786, allocations: 8 kB / 1.231 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3786, allocations: 4.234 kB / 1.231 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3786, allocations: 8 kB / 1.231 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-06/0.3786, allocations: 0 / 1.231 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.3786, allocations: 7.984 kB / 1.231 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.3788, allocations: 47.52 kB / 1.231 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3788, allocations: 4 kB / 1.231 GB, free: 2.473 MB / 0.9825 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.0002816/0.379, allocations: 241.6 kB / 1.232 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-05/0.3791, allocations: 128.7 kB / 1.232 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.302e-05/0.3792, allocations: 118.9 kB / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.703e-05/0.3793, allocations: 184.2 kB / 1.232 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.287e-05/0.3793, allocations: 184.3 kB / 1.232 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.803e-05/0.3794, allocations: 180.3 kB / 1.232 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.3798, allocations: 473.1 kB / 1.233 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.911e-05/0.3798, allocations: 105.1 kB / 1.233 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.3798, allocations: 108.9 kB / 1.233 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.868e-05/0.3799, allocations: 184.3 kB / 1.233 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.027e-05/0.38, allocations: 180.2 kB / 1.233 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.239e-05/0.3801, allocations: 184.2 kB / 1.234 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.595e-05/0.3802, allocations: 176.3 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.3803, allocations: 331.6 kB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3805, allocations: 205.9 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3806, allocations: 184.1 kB / 1.234 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3807, allocations: 101 kB / 1.235 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.3808, allocations: 192.2 kB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.3808, allocations: 112.9 kB / 1.235 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002747/0.3811, allocations: 275.1 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3811, allocations: 0 / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004254/0.3815, allocations: 83.88 kB / 1.235 GB, free: 14.4 MB / 0.9981 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.0004277/0.3819, allocations: 310.2 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3822, allocations: 128.2 kB / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3822, allocations: 4.062 kB / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3822, allocations: 0 / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.3826, allocations: 465.1 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007621/0.3834, allocations: 0.4943 MB / 1.236 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.3837, allocations: 0.7782 MB / 1.237 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.401e-05/0.3837, allocations: 7.938 kB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.3838, allocations: 7.438 kB / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.3838, allocations: 0 / 1.237 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of Templates: time 0.00675/0.3905, allocations: 3.086 MB / 1.24 GB, free: 9.074 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches