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.001266/0.001266, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001278/0.001278, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.446/1.446, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.586/2.586, allocations: 437.1 MB / 0.7111 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 66.97 kB / 0.8699 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3503, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002825/0.3531, allocations: 1.389 MB / 1.019 GB, free: 9.277 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.3557, allocations: 1.934 MB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.3557, allocations: 0 / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.3569, allocations: 394.8 kB / 1.022 GB, free: 6.953 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.958e-05/0.3569, allocations: 19.91 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.962e-06/0.3569, allocations: 0 / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.3572, allocations: 127.1 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.814e-05/0.3573, allocations: 21.48 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.429e-05/0.3573, allocations: 39.81 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3574, allocations: 63.7 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3575, allocations: 4 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004917/0.358, allocations: 179.9 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.358, allocations: 39.83 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.3581, allocations: 67.61 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.3586, allocations: 287.2 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3586, allocations: 0 / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.456e-06/0.3586, allocations: 0 / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.3587, allocations: 3.938 kB / 1.022 GB, free: 6.109 MB / 0.795 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.0007332/0.3594, allocations: 498.5 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3594, allocations: 12.58 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.3596, allocations: 107.9 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.3599, allocations: 283.4 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.289e-05/0.36, allocations: 154.9 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.36, allocations: 158.9 kB / 1.024 GB, free: 4.836 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.763e-05/0.3601, allocations: 105.1 kB / 1.024 GB, free: 4.727 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.3601, allocations: 75.28 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-05/0.3602, allocations: 158.5 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.017e-05/0.3603, allocations: 150.6 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.251e-05/0.3604, allocations: 158.6 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.3608, allocations: 0.4977 MB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.3609, allocations: 181.1 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/0.361, allocations: 80.14 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.361, allocations: 75.28 kB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.3611, allocations: 113.8 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.3611, allocations: 0 / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001877/0.3613, allocations: 53.36 kB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.94e-05/0.3613, allocations: 130.7 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.3617, allocations: 314.4 kB / 1.026 GB, free: 2.664 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3617, allocations: 29.7 kB / 1.026 GB, free: 2.629 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.3618, allocations: 120.3 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.3618, allocations: 0 / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.3619, allocations: 61.69 kB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3621, allocations: 330.8 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.935e-05/0.3622, allocations: 67.95 kB / 1.026 GB, free: 2.043 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.3623, allocations: 114 kB / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.3626, allocations: 209.8 kB / 1.026 GB, free: 1.684 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3626, allocations: 4 kB / 1.026 GB, free: 1.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004243/0.363, allocations: 233.2 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3631, allocations: 4 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3631, allocations: 4 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3631, allocations: 0 / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-06/0.3631, allocations: 11.94 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3631, allocations: 3.938 kB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.3632, allocations: 27.59 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3633, allocations: 7.984 kB / 1.027 GB, free: 1.387 MB / 0.795 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.0002003/0.3635, allocations: 225.2 kB / 1.027 GB, free: 1.156 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.738e-05/0.3636, allocations: 136.6 kB / 1.027 GB, free: 1.016 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.3636, allocations: 113.9 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.362e-05/0.3637, allocations: 176.3 kB / 1.027 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.953e-05/0.3638, allocations: 180.2 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.781e-05/0.3639, allocations: 180.3 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.3642, allocations: 457.2 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.703e-05/0.3643, allocations: 101 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.3643, allocations: 112.8 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.801e-05/0.3644, allocations: 184.2 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.852e-05/0.3645, allocations: 180.3 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.566e-05/0.3646, allocations: 184.2 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-05/0.3646, allocations: 176.3 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.3648, allocations: 319.6 kB / 1.029 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.3649, allocations: 197.8 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.365, allocations: 188.2 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3652, allocations: 105 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.3653, allocations: 180.3 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/0.3653, allocations: 109.2 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000214/0.3655, allocations: 217.9 kB / 1.03 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3656, allocations: 0 / 1.03 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003714/0.3659, allocations: 60 kB / 1.03 GB, free: 13.46 MB / 0.8106 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.0003448/0.3663, allocations: 274.4 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.3665, allocations: 103.9 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3665, allocations: 448 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.3665, allocations: 4 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.367, allocations: 465.8 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.3676, allocations: 426.9 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.3679, allocations: 0.743 MB / 1.032 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.368, allocations: 11.44 kB / 1.032 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of SimCode: time 1.963e-06/0.368, allocations: 0 / 1.032 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of Templates: time 0.004419/0.3724, allocations: 2.337 MB / 1.035 GB, free: 9.055 MB / 0.8106 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=400 -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