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.001104/0.001104, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.451/1.451, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.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.895/2.895, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003869, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7086/0.709, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001536/0.7105, allocations: 1.136 MB / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003225/0.7138, allocations: 2.612 MB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.7138, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.7156, allocations: 0.5499 MB / 1.028 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.7157, allocations: 15.92 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/0.7157, allocations: 0 / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.716, allocations: 174.9 kB / 1.028 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.012e-05/0.716, allocations: 44.31 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.891e-05/0.7161, allocations: 55.73 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.7163, allocations: 79.58 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.7163, allocations: 4 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.7175, allocations: 483.3 kB / 1.029 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.89e-05/0.7176, allocations: 39.77 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.7177, allocations: 125.1 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.7181, allocations: 286.8 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7181, allocations: 0 / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7181, allocations: 0 / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.7181, allocations: 0 / 1.029 GB, free: 10.26 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.0007804/0.7189, allocations: 0.535 MB / 1.03 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.719, allocations: 15.98 kB / 1.03 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.7191, allocations: 95.94 kB / 1.03 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.7194, allocations: 310.2 kB / 1.03 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.973e-05/0.7195, allocations: 154.9 kB / 1.03 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.7195, allocations: 158.9 kB / 1.03 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.076e-05/0.7196, allocations: 101.5 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.7197, allocations: 75.47 kB / 1.031 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.7197, allocations: 154.5 kB / 1.031 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.766e-05/0.7198, allocations: 154.6 kB / 1.031 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.011e-05/0.7198, allocations: 154.5 kB / 1.031 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.7203, allocations: 0.5367 MB / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.018e-05/0.7204, allocations: 169.1 kB / 1.032 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.7204, allocations: 80.14 kB / 1.032 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.7204, allocations: 75.28 kB / 1.032 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.7205, allocations: 117.8 kB / 1.032 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.7205, allocations: 0 / 1.032 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0002043/0.7207, allocations: 57.34 kB / 1.032 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.7208, allocations: 126.7 kB / 1.032 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/0.7212, allocations: 437.2 kB / 1.033 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.7213, allocations: 25.7 kB / 1.033 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.7214, allocations: 136.5 kB / 1.033 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.7214, allocations: 4 kB / 1.033 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.587e-05/0.7214, allocations: 69.67 kB / 1.033 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.7216, allocations: 342.8 kB / 1.033 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.7217, allocations: 100.4 kB / 1.033 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.7219, allocations: 173.2 kB / 1.033 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.7222, allocations: 301.7 kB / 1.034 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7222, allocations: 0 / 1.034 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005394/0.7228, allocations: 328.9 kB / 1.034 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7228, allocations: 4 kB / 1.034 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.7228, allocations: 3.938 kB / 1.034 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.7228, allocations: 4 kB / 1.034 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-06/0.7228, allocations: 7.984 kB / 1.034 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.7228, allocations: 3.938 kB / 1.034 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.723, allocations: 47.5 kB / 1.034 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.723, allocations: 4 kB / 1.034 GB, free: 5.008 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.0002399/0.7233, allocations: 245.5 kB / 1.034 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.7234, allocations: 128.8 kB / 1.034 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.7234, allocations: 118.9 kB / 1.034 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.179e-05/0.7235, allocations: 184.2 kB / 1.035 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.489e-05/0.7236, allocations: 180.3 kB / 1.035 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.89e-05/0.7237, allocations: 180.2 kB / 1.035 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.724, allocations: 473.2 kB / 1.035 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-05/0.724, allocations: 105 kB / 1.036 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.7241, allocations: 108.9 kB / 1.036 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.179e-05/0.7242, allocations: 184.2 kB / 1.036 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.9e-05/0.7242, allocations: 184.1 kB / 1.036 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.241e-05/0.7243, allocations: 180.3 kB / 1.036 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.259e-05/0.7244, allocations: 184.4 kB / 1.036 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.7245, allocations: 327.5 kB / 1.037 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.7246, allocations: 201.8 kB / 1.037 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/0.7247, allocations: 188.2 kB / 1.037 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.7249, allocations: 112.9 kB / 1.037 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.725, allocations: 176.3 kB / 1.037 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.725, allocations: 101 kB / 1.037 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002747/0.7253, allocations: 287.1 kB / 1.038 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7253, allocations: 0 / 1.038 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003886/0.7257, allocations: 75.98 kB / 1.038 GB, free: 0.9414 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.0003733/0.7261, allocations: 293 kB / 1.038 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.7263, allocations: 163.9 kB / 1.038 GB, free: 500 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7263, allocations: 0 / 1.038 GB, free: 500 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/0.7263, allocations: 4 kB / 1.038 GB, free: 496 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.7267, allocations: 0.5282 MB / 1.039 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/0.7274, allocations: 0.5728 MB / 1.039 GB, free: 15.35 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.7278, allocations: 0.7785 MB / 1.04 GB, free: 14.54 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.7278, allocations: 7.438 kB / 1.04 GB, free: 14.54 MB / 0.795 GB Notification: Performance of SimCode: time 5.81e-07/0.7278, allocations: 4 kB / 1.04 GB, free: 14.53 MB / 0.795 GB Notification: Performance of Templates: time 0.005291/0.7331, allocations: 3.027 MB / 1.043 GB, free: 11.5 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/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