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.001636/0.001636, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001911/0.001911, allocations: 193.1 kB / 16.13 MB, free: 6.648 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.613 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 2.675/2.675, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.88 kB / 0.8685 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7982, allocations: 151.6 MB / 1.017 GB, free: 2.973 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002833/0.8011, allocations: 1.452 MB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.8034, allocations: 1.918 MB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.8035, allocations: 4 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009504/0.8044, allocations: 370 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-05/0.8045, allocations: 19.91 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.437e-06/0.8045, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000229/0.8048, allocations: 139.1 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.764e-05/0.8048, allocations: 25.48 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.057e-05/0.8049, allocations: 39.84 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.805, allocations: 67.64 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.805, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.8055, allocations: 172 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.8055, allocations: 35.83 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.8056, allocations: 67.62 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.806, allocations: 285 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.8061, allocations: 7.984 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.01e-07/0.8061, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.8061, allocations: 0 / 1.021 GB, free: 14.37 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.0007458/0.8068, allocations: 494.5 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.8069, allocations: 15.98 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.807, allocations: 95.94 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.8073, allocations: 299.2 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.07e-05/0.8073, allocations: 158.9 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/0.8074, allocations: 154.9 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.92e-05/0.8075, allocations: 109 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.8075, allocations: 75.28 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.8076, allocations: 150.6 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/0.8076, allocations: 154.6 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.562e-05/0.8077, allocations: 150.6 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.808, allocations: 0.5017 MB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.27e-05/0.8081, allocations: 173.1 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.8082, allocations: 84.14 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.8082, allocations: 83.27 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.92e-05/0.8083, allocations: 113.8 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.8083, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.000165/0.8085, allocations: 49.41 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.8085, allocations: 130.7 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.8089, allocations: 322.3 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.809, allocations: 29.7 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.809, allocations: 116.4 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.809, allocations: 0 / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.8091, allocations: 61.69 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.8093, allocations: 330.8 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.8094, allocations: 63.95 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.8095, allocations: 121.9 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.8098, allocations: 209.8 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.8098, allocations: 0 / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004079/0.8102, allocations: 229.2 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.8102, allocations: 8 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.8103, allocations: 4.203 kB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.8103, allocations: 8 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.8103, allocations: 0 / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.8103, allocations: 4 kB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.8104, allocations: 27.53 kB / 1.025 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.8104, allocations: 15.94 kB / 1.025 GB, free: 9.637 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.0002409/0.8107, allocations: 225.6 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/0.8108, allocations: 120.7 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.8108, allocations: 125.8 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-05/0.8109, allocations: 180.3 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001452/0.8111, allocations: 176.3 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/0.8112, allocations: 184.2 kB / 1.026 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.8116, allocations: 449.2 kB / 1.027 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.09e-05/0.8116, allocations: 113.1 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.59e-05/0.8117, allocations: 108.9 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.347e-05/0.8118, allocations: 180.3 kB / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.745e-05/0.8118, allocations: 180.2 kB / 1.027 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001405/0.812, allocations: 184.2 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001077/0.8121, allocations: 180.2 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.8123, allocations: 323.5 kB / 1.028 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.8124, allocations: 197.8 kB / 1.028 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.351e-05/0.8125, allocations: 180.3 kB / 1.028 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.8126, allocations: 108.9 kB / 1.028 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.8127, allocations: 188.2 kB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.8128, allocations: 104.9 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001985/0.813, allocations: 213.9 kB / 1.029 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.813, allocations: 0 / 1.029 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00041/0.8134, allocations: 67.98 kB / 1.029 GB, free: 5.711 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.0003558/0.8138, allocations: 266.4 kB / 1.029 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001723/0.8139, allocations: 103.9 kB / 1.029 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.814, allocations: 0 / 1.029 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.814, allocations: 0 / 1.029 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.8145, allocations: 0.535 MB / 1.03 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.815, allocations: 424.3 kB / 1.03 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.8155, allocations: 0.7394 MB / 1.031 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.541e-05/0.8155, allocations: 4 kB / 1.031 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.8156, allocations: 11.44 kB / 1.031 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8156, allocations: 4 kB / 1.031 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of Templates: time 0.005471/0.821, allocations: 2.245 MB / 1.033 GB, free: 1.328 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=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