Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.007535/0.007535, allocations: 96.42 kB / 15.73 MB, free: 5.988 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.001341/0.001341, allocations: 187.6 kB / 16.67 MB, free: 5.918 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.55/1.55, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.881/2.881, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 1.019 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4037, allocations: 151.6 MB / 1.167 GB, free: 6.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002736/0.4065, allocations: 1.409 MB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.4088, allocations: 1.931 MB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.4089, allocations: 0 / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.4101, allocations: 385.9 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.269e-05/0.4101, allocations: 23.91 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.98e-06/0.4101, allocations: 0 / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.4104, allocations: 119.2 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.361e-05/0.4105, allocations: 25.48 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.84e-05/0.4106, allocations: 43.78 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.4107, allocations: 59.67 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.4107, allocations: 4 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000509/0.4112, allocations: 183.9 kB / 1.171 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.565e-05/0.4113, allocations: 39.83 kB / 1.171 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.4114, allocations: 63.62 kB / 1.171 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.4119, allocations: 290.7 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.4119, allocations: 3.984 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.504e-06/0.4119, allocations: 0 / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.4119, allocations: 0 / 1.171 GB, free: 2.32 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.0007453/0.4127, allocations: 0.4905 MB / 1.172 GB, free: 1.781 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4127, allocations: 15.98 kB / 1.172 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.4129, allocations: 96.12 kB / 1.172 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.4132, allocations: 295.3 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.4133, allocations: 150.9 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.4133, allocations: 158.9 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.87e-05/0.4134, allocations: 109 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.4135, allocations: 79.28 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.134e-05/0.4136, allocations: 154.6 kB / 1.173 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-05/0.4136, allocations: 150.6 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.809e-05/0.4137, allocations: 150.6 kB / 1.173 GB, free: 412 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.4141, allocations: 0.5018 MB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.4142, allocations: 173.1 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.4143, allocations: 80.14 kB / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.4143, allocations: 79.28 kB / 1.174 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.614e-05/0.4144, allocations: 109.8 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.4144, allocations: 3.938 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001818/0.4146, allocations: 53.55 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.4147, allocations: 134.7 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.415, allocations: 326.3 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.415, allocations: 25.7 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.4151, allocations: 116.4 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-06/0.4151, allocations: 0 / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.4152, allocations: 61.69 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4154, allocations: 330.8 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/0.4155, allocations: 63.95 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.4156, allocations: 125.5 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.4159, allocations: 205.8 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4159, allocations: 0 / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004753/0.4164, allocations: 245.3 kB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4164, allocations: 8 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4164, allocations: 3.984 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4165, allocations: 4 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.4165, allocations: 0 / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.4165, allocations: 4 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.4166, allocations: 27.73 kB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.4166, allocations: 4 kB / 1.175 GB, free: 13.58 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.0003026/0.4169, allocations: 229.2 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.901e-05/0.417, allocations: 120.8 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.799e-05/0.4171, allocations: 117.8 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.853e-05/0.4172, allocations: 180.3 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.151e-05/0.4173, allocations: 176.3 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001169/0.4175, allocations: 184.2 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.4179, allocations: 453.2 kB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-05/0.4179, allocations: 108.9 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.418, allocations: 104.9 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.269e-05/0.4181, allocations: 176.3 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.4182, allocations: 188.1 kB / 1.177 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.592e-05/0.4183, allocations: 192.2 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.921e-05/0.4184, allocations: 180.2 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.4186, allocations: 319.6 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.4188, allocations: 201.9 kB / 1.178 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.4189, allocations: 184.2 kB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.4191, allocations: 108.9 kB / 1.178 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.4192, allocations: 184.2 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.4192, allocations: 109.2 kB / 1.179 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002267/0.4195, allocations: 209.9 kB / 1.179 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4195, allocations: 0 / 1.179 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004309/0.4199, allocations: 67.92 kB / 1.179 GB, free: 9.645 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.0004305/0.4203, allocations: 274.3 kB / 1.179 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.4206, allocations: 103.9 kB / 1.179 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4206, allocations: 448 / 1.179 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.4206, allocations: 4 kB / 1.179 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.4211, allocations: 468.2 kB / 1.18 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.4217, allocations: 392.8 kB / 1.18 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.4221, allocations: 0.7431 MB / 1.181 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.246e-05/0.4221, allocations: 4.25 kB / 1.181 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.4222, allocations: 11.44 kB / 1.181 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.4222, allocations: 0 / 1.181 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of Templates: time 0.005682/0.4279, allocations: 2.304 MB / 1.183 GB, free: 5.312 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches