Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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_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_latest_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_latest_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.001659/0.001659, allocations: 105 kB / 16.41 MB, free: 6.465 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.002009/0.002009, allocations: 187 kB / 17.34 MB, free: 5.719 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.389/1.389, allocations: 222.9 MB / 241 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.596/2.596, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001917, allocations: 60.12 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003203/1.028, allocations: 1.408 MB / 1.21 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004046/1.032, allocations: 2.676 MB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/1.032, allocations: 0 / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/1.034, allocations: 0.5905 MB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.693e-05/1.035, allocations: 23.83 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.3e-06/1.035, allocations: 0 / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002874/1.035, allocations: 155 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/1.035, allocations: 36.39 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/1.035, allocations: 59.73 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/1.035, allocations: 75.58 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/1.035, allocations: 4 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/1.037, allocations: 467.3 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.864e-05/1.037, allocations: 43.75 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/1.037, allocations: 91.44 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008996/1.038, allocations: 444 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.038, allocations: 0 / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.52e-06/1.038, allocations: 4 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.033e-05/1.038, allocations: 3.938 kB / 1.214 GB, free: 7.562 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.0009911/1.039, allocations: 0.5412 MB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.039, allocations: 8.031 kB / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/1.039, allocations: 103.9 kB / 1.215 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/1.039, allocations: 314.2 kB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/1.04, allocations: 150.9 kB / 1.215 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.611e-05/1.04, allocations: 154.9 kB / 1.216 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.419e-05/1.04, allocations: 101.5 kB / 1.216 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/1.04, allocations: 75.47 kB / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/1.04, allocations: 158.5 kB / 1.216 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.25e-05/1.04, allocations: 154.6 kB / 1.216 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.458e-05/1.04, allocations: 158.5 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/1.04, allocations: 0.5328 MB / 1.217 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.863e-05/1.04, allocations: 169.1 kB / 1.217 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/1.041, allocations: 92.14 kB / 1.217 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/1.041, allocations: 75.28 kB / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/1.041, allocations: 109.8 kB / 1.217 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/1.041, allocations: 0 / 1.217 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001862/1.041, allocations: 53.36 kB / 1.217 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/1.041, allocations: 126.7 kB / 1.217 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/1.041, allocations: 441.2 kB / 1.218 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/1.041, allocations: 33.64 kB / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/1.041, allocations: 132.5 kB / 1.218 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/1.041, allocations: 0 / 1.218 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.366e-05/1.042, allocations: 89.67 kB / 1.218 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.042, allocations: 338.8 kB / 1.218 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/1.042, allocations: 100.5 kB / 1.218 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/1.042, allocations: 169.2 kB / 1.219 GB, free: 3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/1.042, allocations: 301.7 kB / 1.219 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.042, allocations: 0 / 1.219 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005641/1.043, allocations: 336.9 kB / 1.219 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.043, allocations: 8 kB / 1.219 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.043, allocations: 8.156 kB / 1.219 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/1.043, allocations: 7.938 kB / 1.219 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-06/1.043, allocations: 0 / 1.219 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.043, allocations: 4 kB / 1.219 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/1.043, allocations: 43.28 kB / 1.219 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/1.043, allocations: 4 kB / 1.219 GB, free: 2.273 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.0002818/1.043, allocations: 245 kB / 1.219 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.766e-05/1.044, allocations: 124.7 kB / 1.22 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/1.044, allocations: 118.9 kB / 1.22 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-05/1.044, allocations: 180.2 kB / 1.22 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.526e-05/1.044, allocations: 184.2 kB / 1.22 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.85e-05/1.044, allocations: 180.2 kB / 1.22 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/1.044, allocations: 477.1 kB / 1.221 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.186e-05/1.044, allocations: 105 kB / 1.221 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/1.044, allocations: 104.9 kB / 1.221 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.727e-05/1.044, allocations: 180.3 kB / 1.221 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.428e-05/1.045, allocations: 184.1 kB / 1.221 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001076/1.045, allocations: 180.3 kB / 1.221 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.041e-05/1.045, allocations: 192.2 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/1.045, allocations: 319.7 kB / 1.222 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/1.045, allocations: 205.7 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.045, allocations: 188.2 kB / 1.222 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/1.045, allocations: 104.9 kB / 1.222 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/1.045, allocations: 184.3 kB / 1.222 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/1.045, allocations: 101 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002971/1.046, allocations: 279.1 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/1.046, allocations: 0 / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004603/1.046, allocations: 83.98 kB / 1.223 GB, free: 14.21 MB / 0.9512 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.000495/1.047, allocations: 309.8 kB / 1.223 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002712/1.047, allocations: 164.1 kB / 1.223 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.047, allocations: 0 / 1.223 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/1.047, allocations: 4 kB / 1.223 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/1.048, allocations: 461.1 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007506/1.048, allocations: 0.5199 MB / 1.224 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/1.049, allocations: 0.782 MB / 1.225 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/1.049, allocations: 15.38 kB / 1.225 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/1.049, allocations: 0 / 1.225 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of Templates: time 0.005864/1.055, allocations: 3.149 MB / 1.228 GB, free: 8.762 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches