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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008219/0.0008218, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008986/0.0008985, allocations: 183.4 kB / 16.92 MB, free: 6.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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.734/2.734, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 8 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7591/0.7595, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001915/0.7614, allocations: 1.121 MB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002617/0.7641, allocations: 1.892 MB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.7641, allocations: 0 / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.7655, allocations: 361.8 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.672e-05/0.7656, allocations: 23.91 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.7656, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.7659, allocations: 143.1 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.531e-05/0.7659, allocations: 25.48 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.204e-05/0.766, allocations: 39.84 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.7662, allocations: 63.72 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.7662, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005893/0.7668, allocations: 183.9 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.7669, allocations: 27.84 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.767, allocations: 105.3 kB / 1.028 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.7673, allocations: 213.1 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7673, allocations: 0 / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.813e-06/0.7673, allocations: 0 / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.7673, allocations: 3.938 kB / 1.028 GB, free: 11.63 MB / 0.7794 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.0006619/0.768, allocations: 478.6 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.7681, allocations: 11.98 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.7682, allocations: 100 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.7684, allocations: 287.4 kB / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.807e-05/0.7685, allocations: 154.9 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.7686, allocations: 154.9 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.198e-05/0.7686, allocations: 105.1 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.7687, allocations: 79.22 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.7687, allocations: 158.6 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.7688, allocations: 150.6 kB / 1.029 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.478e-05/0.7688, allocations: 158.5 kB / 1.03 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.7692, allocations: 0.5054 MB / 1.03 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.23e-05/0.7693, allocations: 169.1 kB / 1.03 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.7693, allocations: 84.08 kB / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.7693, allocations: 79.27 kB / 1.03 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.7694, allocations: 113.8 kB / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.7694, allocations: 0 / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001677/0.7696, allocations: 45.52 kB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.7696, allocations: 130.7 kB / 1.031 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/0.77, allocations: 322.3 kB / 1.031 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.77, allocations: 33.64 kB / 1.031 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.77, allocations: 108.5 kB / 1.031 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.7701, allocations: 4 kB / 1.031 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.7701, allocations: 45.69 kB / 1.031 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.7702, allocations: 334.8 kB / 1.031 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.7703, allocations: 67.89 kB / 1.031 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.7705, allocations: 118 kB / 1.032 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.7707, allocations: 205.9 kB / 1.032 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7707, allocations: 0 / 1.032 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003988/0.7711, allocations: 241 kB / 1.032 GB, free: 7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7711, allocations: 4.219 kB / 1.032 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.7711, allocations: 8 kB / 1.032 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.7711, allocations: 3.984 kB / 1.032 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-06/0.7712, allocations: 7.938 kB / 1.032 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.7712, allocations: 0 / 1.032 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.7713, allocations: 27.62 kB / 1.032 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.7713, allocations: 4 kB / 1.032 GB, free: 6.945 MB / 0.7794 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.0001923/0.7715, allocations: 230.3 kB / 1.032 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.7716, allocations: 124.6 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.7716, allocations: 117.8 kB / 1.033 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.348e-05/0.7717, allocations: 180.2 kB / 1.033 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.431e-05/0.7718, allocations: 180.3 kB / 1.033 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.852e-05/0.7719, allocations: 184.2 kB / 1.033 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.7721, allocations: 453.2 kB / 1.033 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.585e-05/0.7722, allocations: 104.9 kB / 1.034 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.7722, allocations: 109 kB / 1.034 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.111e-05/0.7722, allocations: 180.3 kB / 1.034 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.7723, allocations: 188.2 kB / 1.034 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.335e-05/0.7724, allocations: 176.3 kB / 1.034 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.708e-05/0.7724, allocations: 184.2 kB / 1.034 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.7726, allocations: 315.6 kB / 1.035 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.7727, allocations: 201.8 kB / 1.035 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.091e-05/0.7728, allocations: 176.3 kB / 1.035 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.7729, allocations: 108.9 kB / 1.035 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.7729, allocations: 184.2 kB / 1.035 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.773, allocations: 101 kB / 1.035 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001877/0.7732, allocations: 213.9 kB / 1.036 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7732, allocations: 0 / 1.036 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003632/0.7736, allocations: 63.98 kB / 1.036 GB, free: 3.035 MB / 0.7794 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.00033/0.7739, allocations: 286.6 kB / 1.036 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.7741, allocations: 107.9 kB / 1.036 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7741, allocations: 0 / 1.036 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.7741, allocations: 0 / 1.036 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.7745, allocations: 0.5407 MB / 1.037 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.775, allocations: 469.5 kB / 1.037 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.7753, allocations: 0.7394 MB / 1.038 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.7754, allocations: 11.44 kB / 1.038 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7754, allocations: 0 / 1.038 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of Templates: time 0.004069/0.7794, allocations: 2.303 MB / 1.04 GB, free: 14.52 MB / 0.795 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/jenkins1/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