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.009372/0.009372, allocations: 98.14 kB / 15.73 MB, free: 6.012 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.001677/0.001677, allocations: 195.3 kB / 16.68 MB, free: 5.93 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.57/2.57, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.079, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002548/1.082, allocations: 1.414 MB / 1.168 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003109/1.085, allocations: 2.674 MB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/1.085, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001477/1.087, allocations: 0.5824 MB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/1.087, allocations: 19.86 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 5.11e-06/1.087, allocations: 0 / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/1.087, allocations: 154.9 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.875e-05/1.087, allocations: 36.41 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.169e-05/1.087, allocations: 59.7 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/1.087, allocations: 79.58 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/1.087, allocations: 7.938 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/1.088, allocations: 463.3 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/1.088, allocations: 35.78 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/1.089, allocations: 99.41 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006521/1.089, allocations: 439 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.089, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/1.089, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.803e-06/1.089, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 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.0008759/1.09, allocations: 0.572 MB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/1.09, allocations: 12.88 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/1.09, allocations: 104 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/1.091, allocations: 302.4 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/1.091, allocations: 150.9 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.526e-05/1.091, allocations: 158.9 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.037e-05/1.091, allocations: 101.5 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/1.091, allocations: 79.47 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/1.091, allocations: 158.4 kB / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-05/1.091, allocations: 150.6 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.266e-05/1.091, allocations: 154.5 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/1.092, allocations: 0.5406 MB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/1.092, allocations: 173.1 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/1.092, allocations: 80.14 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/1.092, allocations: 79.22 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/1.092, allocations: 109.8 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/1.092, allocations: 0 / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001865/1.092, allocations: 65.44 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/1.092, allocations: 126.7 kB / 1.175 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/1.093, allocations: 429.3 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/1.093, allocations: 29.7 kB / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.093, allocations: 132.6 kB / 1.176 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/1.093, allocations: 4 kB / 1.176 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/1.093, allocations: 93.59 kB / 1.176 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001833/1.093, allocations: 346.8 kB / 1.176 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/1.093, allocations: 96.5 kB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/1.093, allocations: 161.3 kB / 1.177 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/1.094, allocations: 305.6 kB / 1.177 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.094, allocations: 0 / 1.177 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005244/1.094, allocations: 329.1 kB / 1.177 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.094, allocations: 4 kB / 1.177 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.094, allocations: 7.938 kB / 1.177 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.094, allocations: 0 / 1.177 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.617e-06/1.094, allocations: 7.938 kB / 1.177 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.094, allocations: 224 / 1.177 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/1.095, allocations: 51.5 kB / 1.177 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/1.095, allocations: 4 kB / 1.177 GB, free: 8.488 MB / 0.9044 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.0002627/1.095, allocations: 249.3 kB / 1.178 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/1.095, allocations: 124.8 kB / 1.178 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.078e-05/1.095, allocations: 126.8 kB / 1.178 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.038e-05/1.095, allocations: 184.2 kB / 1.178 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.842e-05/1.095, allocations: 176.3 kB / 1.178 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.739e-05/1.095, allocations: 184.2 kB / 1.178 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/1.096, allocations: 469.2 kB / 1.179 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.694e-05/1.096, allocations: 108.9 kB / 1.179 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/1.096, allocations: 101 kB / 1.179 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.254e-05/1.096, allocations: 184.2 kB / 1.179 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-05/1.096, allocations: 184.1 kB / 1.179 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-05/1.096, allocations: 188.3 kB / 1.18 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.494e-05/1.096, allocations: 180.2 kB / 1.18 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/1.096, allocations: 323.9 kB / 1.18 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/1.096, allocations: 205.9 kB / 1.18 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/1.096, allocations: 188.2 kB / 1.18 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/1.097, allocations: 108.9 kB / 1.181 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/1.097, allocations: 176.3 kB / 1.181 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/1.097, allocations: 101 kB / 1.181 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002684/1.097, allocations: 291 kB / 1.181 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.01e-07/1.097, allocations: 0 / 1.181 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004058/1.097, allocations: 83.88 kB / 1.181 GB, free: 4.422 MB / 0.9044 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.0005344/1.098, allocations: 306.2 kB / 1.181 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002879/1.098, allocations: 159.9 kB / 1.182 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.098, allocations: 3.938 kB / 1.182 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/1.098, allocations: 448 / 1.182 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/1.099, allocations: 476.7 kB / 1.182 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/1.1, allocations: 0.4943 MB / 1.183 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/1.1, allocations: 0.7782 MB / 1.183 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.654e-05/1.1, allocations: 256 / 1.183 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/1.1, allocations: 11.44 kB / 1.183 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/1.1, allocations: 0 / 1.183 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of Templates: time 0.008395/1.109, allocations: 3.077 MB / 1.186 GB, free: 15.07 MB / 0.92 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