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.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_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.00148/0.00148, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001895/0.001895, allocations: 189.1 kB / 16.25 MB, free: 6.633 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.587/1.587, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.854/2.854, allocations: 437 MB / 0.71 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.91 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8009/0.8023, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003234/0.8056, allocations: 1.473 MB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003521/0.8092, allocations: 2.636 MB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.8092, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.8108, allocations: 0.5689 MB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.623e-05/0.8109, allocations: 15.91 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.264e-06/0.8109, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.8112, allocations: 154.9 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.8113, allocations: 32.39 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.287e-05/0.8114, allocations: 67.72 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.8116, allocations: 83.58 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.8116, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.8126, allocations: 495.2 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.184e-05/0.8127, allocations: 39.72 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.8128, allocations: 95.42 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005952/0.8134, allocations: 402.3 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8134, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8135, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.8135, allocations: 0 / 1.023 GB, free: 12.69 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.0008327/0.8143, allocations: 0.5412 MB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.8144, allocations: 19.98 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.8145, allocations: 103.8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.8149, allocations: 302.3 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-05/0.815, allocations: 154.9 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.8151, allocations: 154.9 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.8152, allocations: 105.5 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.8153, allocations: 79.47 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.8154, allocations: 154.5 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.049e-05/0.8154, allocations: 154.5 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.8156, allocations: 150.6 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.816, allocations: 0.5367 MB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.8161, allocations: 169.1 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.786e-05/0.8162, allocations: 84.19 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.8162, allocations: 75.28 kB / 1.025 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/0.8163, allocations: 113.8 kB / 1.025 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.8163, allocations: 0 / 1.025 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0002191/0.8165, allocations: 61.27 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.8166, allocations: 130.7 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.8171, allocations: 429.2 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.8171, allocations: 25.7 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.8173, allocations: 132.5 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.8173, allocations: 0 / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.664e-05/0.8174, allocations: 89.67 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002866/0.8177, allocations: 338.8 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.8178, allocations: 104.4 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.818, allocations: 165.3 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.8184, allocations: 309.6 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8184, allocations: 4 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006795/0.8191, allocations: 332.8 kB / 1.027 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.8191, allocations: 5.562 kB / 1.027 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.8191, allocations: 7.922 kB / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8192, allocations: 7.984 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-06/0.8192, allocations: 0 / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.8192, allocations: 4 kB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.8193, allocations: 39.38 kB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.8193, allocations: 8 kB / 1.028 GB, free: 7.41 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.0003315/0.8197, allocations: 245.2 kB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.252e-05/0.8198, allocations: 128.6 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.139e-05/0.8199, allocations: 122.8 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.074e-05/0.8199, allocations: 176.3 kB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.632e-05/0.82, allocations: 176.3 kB / 1.028 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.757e-05/0.8201, allocations: 184.2 kB / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003613/0.8205, allocations: 473.2 kB / 1.029 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.938e-05/0.8205, allocations: 116.9 kB / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.8207, allocations: 101 kB / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-05/0.8207, allocations: 180.3 kB / 1.029 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001712/0.8209, allocations: 184.1 kB / 1.03 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001635/0.8211, allocations: 184.3 kB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001551/0.8212, allocations: 180.2 kB / 1.03 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.8215, allocations: 323.5 kB / 1.03 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.8217, allocations: 209.6 kB / 1.03 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.8219, allocations: 184.2 kB / 1.031 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.822, allocations: 108.9 kB / 1.031 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.8222, allocations: 176.6 kB / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.8223, allocations: 105 kB / 1.031 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000446/0.8227, allocations: 279.1 kB / 1.031 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.415e-06/0.8227, allocations: 3.938 kB / 1.031 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004894/0.8232, allocations: 79.92 kB / 1.031 GB, free: 3.348 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.0004737/0.8237, allocations: 302.4 kB / 1.032 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.824, allocations: 163.9 kB / 1.032 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.824, allocations: 7.938 kB / 1.032 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.824, allocations: 0 / 1.032 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.8245, allocations: 466.2 kB / 1.032 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007279/0.8252, allocations: 0.534 MB / 1.033 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.8256, allocations: 0.7743 MB / 1.033 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.405e-05/0.8257, allocations: 4 kB / 1.033 GB, free: 1.055 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.8257, allocations: 11.44 kB / 1.033 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.8257, allocations: 0 / 1.033 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of Templates: time 0.007252/0.8329, allocations: 2.903 MB / 1.036 GB, free: 14.14 MB / 0.795 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 -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/jenkins/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