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.00145/0.001451, allocations: 113.5 kB / 16.37 MB, free: 5.996 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.001617/0.001617, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.507/2.507, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.69 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3629, allocations: 151.7 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002559/0.3655, allocations: 1.377 MB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.3677, allocations: 1.936 MB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.3677, allocations: 0 / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009178/0.3686, allocations: 390.9 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.232e-05/0.3687, allocations: 19.92 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.3687, allocations: 4 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.3689, allocations: 127.1 kB / 1.023 GB, free: 5.977 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.214e-05/0.369, allocations: 17.5 kB / 1.023 GB, free: 5.953 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.287e-05/0.3691, allocations: 47.78 kB / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3692, allocations: 67.64 kB / 1.023 GB, free: 5.84 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.3692, allocations: 4 kB / 1.023 GB, free: 5.836 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/0.3696, allocations: 175.9 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.3697, allocations: 27.91 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.471e-05/0.3698, allocations: 75.55 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.3702, allocations: 286.9 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3702, allocations: 4 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3702, allocations: 0 / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.3703, allocations: 0 / 1.023 GB, free: 5.277 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.0006747/0.3709, allocations: 498.5 kB / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.371, allocations: 16.86 kB / 1.024 GB, free: 4.727 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.3711, allocations: 95.94 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.3714, allocations: 287.4 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.3714, allocations: 150.9 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.3715, allocations: 162.9 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.849e-05/0.3716, allocations: 109 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.3716, allocations: 75.28 kB / 1.025 GB, free: 3.82 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.3716, allocations: 154.5 kB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.056e-05/0.3717, allocations: 154.6 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.176e-05/0.3718, allocations: 150.6 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.3721, allocations: 0.5055 MB / 1.025 GB, free: 2.812 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.784e-05/0.3722, allocations: 173.1 kB / 1.026 GB, free: 2.633 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.3722, allocations: 84.14 kB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.3723, allocations: 75.28 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.3723, allocations: 109.8 kB / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3723, allocations: 0 / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001716/0.3725, allocations: 53.42 kB / 1.026 GB, free: 2.297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.3726, allocations: 126.7 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.3729, allocations: 322.3 kB / 1.026 GB, free: 1.836 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.3729, allocations: 25.7 kB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.373, allocations: 124.3 kB / 1.027 GB, free: 1.676 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.373, allocations: 0 / 1.027 GB, free: 1.676 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.3731, allocations: 61.69 kB / 1.027 GB, free: 1.609 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3732, allocations: 326.8 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.304e-05/0.3733, allocations: 67.95 kB / 1.027 GB, free: 1.215 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.3734, allocations: 125.9 kB / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.3736, allocations: 217.8 kB / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3736, allocations: 0 / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004073/0.3741, allocations: 237.2 kB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3741, allocations: 4 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3741, allocations: 8.219 kB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3741, allocations: 0 / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-06/0.3741, allocations: 4 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3741, allocations: 0 / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.3743, allocations: 35.52 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.3743, allocations: 4 kB / 1.028 GB, free: 0.543 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.0001788/0.3745, allocations: 225 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.3745, allocations: 132.7 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.3746, allocations: 117.8 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.398e-05/0.3747, allocations: 176.3 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.01e-05/0.3747, allocations: 180.2 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.073e-05/0.3748, allocations: 184.2 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.3751, allocations: 449.2 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-05/0.3751, allocations: 112.9 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.3752, allocations: 104.9 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-05/0.3752, allocations: 184.2 kB / 1.029 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-05/0.3753, allocations: 176.3 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.986e-05/0.3754, allocations: 180.3 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.63e-05/0.3754, allocations: 184.2 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.3756, allocations: 319.6 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3757, allocations: 201.8 kB / 1.03 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/0.3758, allocations: 176.3 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3759, allocations: 108.9 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.376, allocations: 180.3 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.376, allocations: 109.2 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002059/0.3762, allocations: 217.9 kB / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3763, allocations: 0 / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003428/0.3766, allocations: 60 kB / 1.031 GB, free: 12.63 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.0003331/0.3769, allocations: 278.5 kB / 1.031 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001762/0.3771, allocations: 107.8 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3771, allocations: 0 / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3771, allocations: 0 / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.3776, allocations: 473.9 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.3781, allocations: 397.1 kB / 1.032 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.3784, allocations: 0.743 MB / 1.033 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.469e-05/0.3784, allocations: 7.984 kB / 1.033 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.3784, allocations: 7.438 kB / 1.033 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3784, allocations: 0 / 1.033 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of Templates: time 0.005205/0.3836, allocations: 2.287 MB / 1.035 GB, free: 8.297 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=480 -s gbode -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