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.00104/0.00104, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001174/0.001174, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240 MB, free: 5.434 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.982/2.982, allocations: 437.7 MB / 0.7117 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.000382, allocations: 8 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8191/0.8195, allocations: 153.8 MB / 1.022 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001762/0.8213, allocations: 1.117 MB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002535/0.8239, allocations: 1.75 MB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.8239, allocations: 0 / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.8252, allocations: 348.9 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.8252, allocations: 15.91 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.139e-06/0.8253, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.8255, allocations: 139.1 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.8256, allocations: 25.47 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.8257, allocations: 31.88 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.8259, allocations: 67.77 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.8259, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006309/0.8266, allocations: 179.9 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.869e-05/0.8266, allocations: 31.84 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.8267, allocations: 53.64 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.8272, allocations: 209.1 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.8272, allocations: 4 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.967e-06/0.8272, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.8272, allocations: 3.938 kB / 1.026 GB, free: 12.03 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.0007982/0.828, allocations: 482.4 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.8281, allocations: 12.52 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.8282, allocations: 91.09 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.8285, allocations: 290 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.8286, allocations: 158.6 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.8287, allocations: 158.5 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.648e-05/0.8288, allocations: 104.9 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.8288, allocations: 75.28 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-05/0.8289, allocations: 150.6 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.592e-05/0.8289, allocations: 154.6 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.1e-05/0.829, allocations: 162.5 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.8294, allocations: 0.4978 MB / 1.028 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.545e-05/0.8295, allocations: 173.1 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.8296, allocations: 84.14 kB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.8296, allocations: 75.28 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.226e-05/0.8297, allocations: 113.7 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.8297, allocations: 0 / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001878/0.8299, allocations: 53.55 kB / 1.029 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.83, allocations: 126.7 kB / 1.029 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.8304, allocations: 322.3 kB / 1.029 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.8304, allocations: 25.7 kB / 1.029 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.8305, allocations: 116.4 kB / 1.03 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.8305, allocations: 0 / 1.03 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.8305, allocations: 4 kB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.8306, allocations: 330.8 kB / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/0.8307, allocations: 59.95 kB / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.8308, allocations: 125.9 kB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.831, allocations: 75.97 kB / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.831, allocations: 0 / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004595/0.8314, allocations: 229.3 kB / 1.03 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.695e-05/0.8315, allocations: 7.938 kB / 1.03 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.8316, allocations: 7.953 kB / 1.03 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.8316, allocations: 0 / 1.03 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-06/0.8316, allocations: 7.938 kB / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.8316, allocations: 4.219 kB / 1.03 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.8317, allocations: 39.53 kB / 1.03 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.8317, allocations: 4 kB / 1.03 GB, free: 7.539 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.8319, allocations: 221.1 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.832, allocations: 120.7 kB / 1.031 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.8321, allocations: 113.8 kB / 1.031 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.199e-05/0.8322, allocations: 188.2 kB / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.055e-05/0.8323, allocations: 180.3 kB / 1.031 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.189e-05/0.8323, allocations: 176.3 kB / 1.031 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.8328, allocations: 457.1 kB / 1.032 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.332e-05/0.8328, allocations: 101 kB / 1.032 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.8329, allocations: 104.9 kB / 1.032 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.833, allocations: 184.4 kB / 1.032 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-05/0.8331, allocations: 188.2 kB / 1.032 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.431e-05/0.8331, allocations: 180.2 kB / 1.032 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001461/0.8333, allocations: 184.2 kB / 1.033 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.8335, allocations: 319.6 kB / 1.033 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.8336, allocations: 201.8 kB / 1.033 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.8337, allocations: 184.2 kB / 1.033 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.8339, allocations: 105 kB / 1.033 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.834, allocations: 188.2 kB / 1.034 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.723e-05/0.834, allocations: 105 kB / 1.034 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002355/0.8343, allocations: 209.9 kB / 1.034 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8343, allocations: 0 / 1.034 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004086/0.8347, allocations: 67.98 kB / 1.034 GB, free: 3.625 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003679/0.8351, allocations: 270.8 kB / 1.034 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.8353, allocations: 95.89 kB / 1.034 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8353, allocations: 4 kB / 1.034 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.8353, allocations: 3.938 kB / 1.034 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.8357, allocations: 0.535 MB / 1.035 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.8362, allocations: 412.5 kB / 1.035 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.8366, allocations: 0.7394 MB / 1.036 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.697e-05/0.8366, allocations: 4 kB / 1.036 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.8366, allocations: 7.438 kB / 1.036 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.8366, allocations: 0 / 1.036 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of Templates: time 0.005906/0.8426, allocations: 2.192 MB / 1.038 GB, free: 15.3 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/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