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.001942/0.001942, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.002413/0.002413, allocations: 195.6 kB / 16.26 MB, free: 6.152 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.638/1.638, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.073/3.073, allocations: 437 MB / 0.7101 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.88 kB / 0.8687 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7356/0.7376, allocations: 151.6 MB / 1.017 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003062/0.7407, allocations: 1.463 MB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002511/0.7433, allocations: 1.912 MB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.7433, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.7445, allocations: 377.3 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.231e-05/0.7445, allocations: 15.91 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.508e-06/0.7445, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.7448, allocations: 131.1 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.855e-05/0.7449, allocations: 25.47 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.139e-05/0.7449, allocations: 39.86 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.7451, allocations: 63.7 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.7451, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.7455, allocations: 179.9 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.7456, allocations: 35.83 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.106e-05/0.7457, allocations: 71.61 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004529/0.7461, allocations: 292.8 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.7462, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.385e-06/0.7462, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.7462, allocations: 0 / 1.021 GB, free: 14.04 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.0007887/0.747, allocations: 490.6 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.747, allocations: 15.98 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.7472, allocations: 103.9 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.7475, allocations: 287.3 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.7476, allocations: 158.9 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.7477, allocations: 154.9 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.71e-05/0.7478, allocations: 105.1 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.7478, allocations: 79.28 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.591e-05/0.7479, allocations: 154.6 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.928e-05/0.748, allocations: 150.6 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.035e-05/0.7481, allocations: 158.5 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.7486, allocations: 0.5017 MB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.7487, allocations: 169.1 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.7488, allocations: 80.14 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.7488, allocations: 75.28 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.251e-05/0.7489, allocations: 117.7 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.7489, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001785/0.7491, allocations: 57.41 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/0.7491, allocations: 126.7 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.7495, allocations: 318.4 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.7495, allocations: 29.7 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.7496, allocations: 116.4 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.7496, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/0.7497, allocations: 57.69 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.7499, allocations: 338.8 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.304e-05/0.75, allocations: 63.95 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.7501, allocations: 117.9 kB / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.7504, allocations: 205.9 kB / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7504, allocations: 4 kB / 1.025 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004369/0.7509, allocations: 237.2 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.7509, allocations: 7.984 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.7509, allocations: 4 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7509, allocations: 0 / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.7509, allocations: 4 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.7509, allocations: 0 / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.7511, allocations: 31.53 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.7511, allocations: 4 kB / 1.026 GB, free: 9.32 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.0002775/0.7514, allocations: 229.3 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.7515, allocations: 120.7 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.665e-05/0.7516, allocations: 121.9 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001243/0.7518, allocations: 184.1 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001814/0.7519, allocations: 180.3 kB / 1.026 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001341/0.7521, allocations: 180.3 kB / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.7525, allocations: 453.1 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.583e-05/0.7526, allocations: 105.1 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.7528, allocations: 116.9 kB / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.7529, allocations: 180.3 kB / 1.027 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000205/0.7531, allocations: 180.2 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001165/0.7532, allocations: 184.2 kB / 1.028 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001673/0.7534, allocations: 176.3 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.7536, allocations: 323.5 kB / 1.028 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.7538, allocations: 201.8 kB / 1.028 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.7539, allocations: 180.3 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.7541, allocations: 105 kB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.7542, allocations: 188.2 kB / 1.029 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/0.7543, allocations: 105 kB / 1.029 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002625/0.7546, allocations: 213.9 kB / 1.029 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7546, allocations: 0 / 1.029 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000481/0.7551, allocations: 67.98 kB / 1.029 GB, free: 5.391 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.0004297/0.7555, allocations: 272.2 kB / 1.029 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.7557, allocations: 96.2 kB / 1.03 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7557, allocations: 4.125 kB / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.619e-06/0.7557, allocations: 3.938 kB / 1.03 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.7562, allocations: 470.3 kB / 1.03 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.7569, allocations: 413.3 kB / 1.03 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.7573, allocations: 0.7431 MB / 1.031 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.51e-05/0.7573, allocations: 4 kB / 1.031 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.026e-05/0.7573, allocations: 7.438 kB / 1.031 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7573, allocations: 0 / 1.031 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of Templates: time 0.006283/0.7636, allocations: 2.306 MB / 1.033 GB, free: 1.035 MB / 0.7794 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/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