Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.0013/0.0013, allocations: 118.8 kB / 16.37 MB, free: 6.004 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.001262/0.001262, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.15 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.495/2.495, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001318, allocations: 55.41 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3202, allocations: 151.6 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002759/0.323, allocations: 1.418 MB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003022/0.3261, allocations: 2.664 MB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.3261, allocations: 4 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.3277, allocations: 0.575 MB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.3277, allocations: 19.91 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.638e-06/0.3277, allocations: 4 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.328, allocations: 158.9 kB / 1.024 GB, free: 4.969 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.856e-05/0.3281, allocations: 32.41 kB / 1.024 GB, free: 4.934 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.3282, allocations: 59.72 kB / 1.024 GB, free: 4.875 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.3283, allocations: 83.53 kB / 1.024 GB, free: 4.793 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3283, allocations: 4 kB / 1.024 GB, free: 4.789 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.3294, allocations: 475.2 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.3295, allocations: 31.84 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.3296, allocations: 103.4 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.3303, allocations: 434.3 kB / 1.025 GB, free: 3.766 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3303, allocations: 0 / 1.025 GB, free: 3.766 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3304, allocations: 0 / 1.025 GB, free: 3.766 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.3304, allocations: 0 / 1.025 GB, free: 3.766 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.0009875/0.3314, allocations: 0.5606 MB / 1.025 GB, free: 3.152 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.3314, allocations: 12.58 kB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.3316, allocations: 107.9 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.3319, allocations: 298.4 kB / 1.026 GB, free: 2.703 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.332, allocations: 150.9 kB / 1.026 GB, free: 2.555 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/0.3321, allocations: 158.9 kB / 1.026 GB, free: 2.398 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.35e-05/0.3322, allocations: 109.5 kB / 1.026 GB, free: 2.285 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.3322, allocations: 83.45 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/0.3323, allocations: 154.5 kB / 1.026 GB, free: 2.051 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.027e-05/0.3323, allocations: 150.6 kB / 1.026 GB, free: 1.902 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.418e-05/0.3324, allocations: 150.6 kB / 1.027 GB, free: 1.754 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.3329, allocations: 0.5404 MB / 1.027 GB, free: 1.164 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.333, allocations: 173.1 kB / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.3331, allocations: 80.14 kB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.19e-05/0.3331, allocations: 75.28 kB / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.3332, allocations: 105.8 kB / 1.027 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.3332, allocations: 0 / 1.027 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.000219/0.3334, allocations: 73.28 kB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.3335, allocations: 126.7 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004346/0.334, allocations: 429.2 kB / 1.028 GB, free: 76 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.334, allocations: 25.7 kB / 1.028 GB, free: 44 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3341, allocations: 136.5 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/0.3341, allocations: 0 / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/0.3342, allocations: 85.67 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3344, allocations: 350.8 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3345, allocations: 92.52 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.3347, allocations: 165.3 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.335, allocations: 305.6 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.335, allocations: 4 kB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000485/0.3355, allocations: 329 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3355, allocations: 4 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3355, allocations: 7.938 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3356, allocations: 0 / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-06/0.3356, allocations: 7.938 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3356, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.3357, allocations: 43.28 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3357, allocations: 8 kB / 1.03 GB, free: 14.47 MB / 0.8106 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.0001813/0.3359, allocations: 249.9 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.336, allocations: 128.6 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.3361, allocations: 114.9 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-05/0.3361, allocations: 176.3 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.265e-05/0.3362, allocations: 184.2 kB / 1.03 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-05/0.3363, allocations: 184.3 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.3366, allocations: 477.1 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.825e-05/0.3367, allocations: 105 kB / 1.031 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.3367, allocations: 101 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-05/0.3368, allocations: 184.2 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/0.3368, allocations: 184.1 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.707e-05/0.3369, allocations: 192.4 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.287e-05/0.337, allocations: 176.3 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.3371, allocations: 323.5 kB / 1.032 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3372, allocations: 209.7 kB / 1.032 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.546e-05/0.3373, allocations: 192.1 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3374, allocations: 101 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.077e-05/0.3375, allocations: 184.2 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.3376, allocations: 101 kB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002696/0.3378, allocations: 283.1 kB / 1.033 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3378, allocations: 0 / 1.033 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000442/0.3383, allocations: 80 kB / 1.033 GB, free: 10.4 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.00042/0.3387, allocations: 311.1 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.339, allocations: 163.9 kB / 1.034 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.339, allocations: 0 / 1.034 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.258e-06/0.339, allocations: 3.938 kB / 1.034 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.3395, allocations: 465.6 kB / 1.034 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/0.3402, allocations: 0.4949 MB / 1.035 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3406, allocations: 0.7782 MB / 1.035 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.502e-05/0.3406, allocations: 8 kB / 1.035 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.3406, allocations: 7.438 kB / 1.035 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.3406, allocations: 0 / 1.035 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of Templates: time 0.006671/0.3473, allocations: 3.068 MB / 1.038 GB, free: 5.07 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches