Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.006796/0.006796, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001477/0.001477, allocations: 197.7 kB / 16.68 MB, free: 5.926 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 71.88 kB / 1.054 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002462/1.031, allocations: 1.4 MB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002309/1.034, allocations: 1.935 MB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/1.034, allocations: 0 / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/1.035, allocations: 389.9 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/1.035, allocations: 15.91 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.731e-06/1.035, allocations: 7.938 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000223/1.035, allocations: 115.2 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.15e-05/1.035, allocations: 33.42 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.053e-05/1.035, allocations: 39.86 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/1.035, allocations: 63.7 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/1.035, allocations: 4 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004181/1.036, allocations: 183.9 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/1.036, allocations: 31.84 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.833e-05/1.036, allocations: 71.59 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004121/1.036, allocations: 292.5 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.036, allocations: 0 / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/1.036, allocations: 4 kB / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.036, allocations: 4 kB / 1.212 GB, free: 8.988 MB / 0.9356 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.0007066/1.037, allocations: 490.5 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/1.037, allocations: 12.03 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/1.037, allocations: 96.03 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/1.037, allocations: 291.3 kB / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/1.037, allocations: 154.9 kB / 1.213 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.095e-05/1.037, allocations: 154.9 kB / 1.213 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.615e-05/1.038, allocations: 105.1 kB / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/1.038, allocations: 75.28 kB / 1.213 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/1.038, allocations: 158.5 kB / 1.214 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.497e-05/1.038, allocations: 158.5 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/1.038, allocations: 150.6 kB / 1.214 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/1.038, allocations: 0.5055 MB / 1.214 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.445e-05/1.038, allocations: 165.1 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/1.038, allocations: 84.14 kB / 1.215 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/1.038, allocations: 83.22 kB / 1.215 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/1.038, allocations: 109.8 kB / 1.215 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/1.038, allocations: 0 / 1.215 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001611/1.038, allocations: 49.5 kB / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/1.039, allocations: 130.7 kB / 1.215 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/1.039, allocations: 318.3 kB / 1.215 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/1.039, allocations: 29.7 kB / 1.215 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/1.039, allocations: 116.5 kB / 1.215 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-06/1.039, allocations: 0 / 1.215 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/1.039, allocations: 65.62 kB / 1.216 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001065/1.039, allocations: 330.8 kB / 1.216 GB, free: 5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/1.039, allocations: 59.95 kB / 1.216 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/1.039, allocations: 125.7 kB / 1.216 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/1.04, allocations: 205.9 kB / 1.216 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.04, allocations: 0 / 1.216 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004215/1.04, allocations: 253 kB / 1.216 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.04, allocations: 4 kB / 1.216 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.04, allocations: 0 / 1.216 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.04, allocations: 4.219 kB / 1.216 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-06/1.04, allocations: 7.984 kB / 1.216 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/1.04, allocations: 4 kB / 1.216 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/1.04, allocations: 31.53 kB / 1.216 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/1.04, allocations: 4 kB / 1.216 GB, free: 4.266 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.0001944/1.04, allocations: 227.7 kB / 1.217 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/1.04, allocations: 124.7 kB / 1.217 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/1.041, allocations: 109.9 kB / 1.217 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.1e-05/1.041, allocations: 192.2 kB / 1.217 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-05/1.041, allocations: 176.3 kB / 1.217 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.332e-05/1.041, allocations: 180.2 kB / 1.217 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/1.041, allocations: 449.2 kB / 1.218 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-05/1.041, allocations: 113 kB / 1.218 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/1.041, allocations: 112.8 kB / 1.218 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.995e-05/1.041, allocations: 176.3 kB / 1.218 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/1.041, allocations: 180.2 kB / 1.218 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.186e-05/1.041, allocations: 188.2 kB / 1.219 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.647e-05/1.041, allocations: 180.2 kB / 1.219 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/1.041, allocations: 315.6 kB / 1.219 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/1.042, allocations: 201.8 kB / 1.219 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.61e-05/1.042, allocations: 180.3 kB / 1.219 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/1.042, allocations: 105 kB / 1.22 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/1.042, allocations: 184.2 kB / 1.22 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/1.042, allocations: 109 kB / 1.22 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001784/1.042, allocations: 209.9 kB / 1.22 GB, free: 420 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.042, allocations: 0 / 1.22 GB, free: 420 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003402/1.042, allocations: 63.98 kB / 1.22 GB, free: 356 kB / 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.0003289/1.043, allocations: 278.8 kB / 1.22 GB, free: 68 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001844/1.043, allocations: 107.8 kB / 1.22 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.043, allocations: 0 / 1.22 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/1.043, allocations: 0 / 1.22 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/1.043, allocations: 472.7 kB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/1.044, allocations: 400 kB / 1.221 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/1.044, allocations: 0.7392 MB / 1.222 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.403e-05/1.044, allocations: 7.938 kB / 1.222 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/1.044, allocations: 11.44 kB / 1.222 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of SimCode: time 2.01e-07/1.044, allocations: 0 / 1.222 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.005214/1.049, allocations: 2.338 MB / 1.224 GB, free: 11.97 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches