Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.005677/0.005677, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001268/0.001268, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.746/2.746, allocations: 461.9 MB / 0.7348 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 65.36 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3077, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002845/0.3106, allocations: 1.454 MB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.3132, allocations: 1.912 MB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.3133, allocations: 0 / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.3145, allocations: 360.5 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.978e-05/0.3146, allocations: 27.91 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.998e-06/0.3146, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.3149, allocations: 143.2 kB / 1.057 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.374e-05/0.315, allocations: 17.5 kB / 1.057 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.315, allocations: 39.81 kB / 1.057 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3152, allocations: 63.7 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.3152, allocations: 4 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005792/0.3158, allocations: 175.9 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.3159, allocations: 35.83 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.515e-05/0.316, allocations: 79.55 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.3163, allocations: 207.5 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3163, allocations: 4 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3163, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.3163, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 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.0008315/0.3172, allocations: 494.5 kB / 1.058 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3172, allocations: 15.97 kB / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.3174, allocations: 95.94 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.3177, allocations: 291.4 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.3177, allocations: 154.9 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.259e-05/0.3178, allocations: 154.9 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.775e-05/0.3179, allocations: 105.1 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.3179, allocations: 75.28 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/0.318, allocations: 158.5 kB / 1.059 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/0.318, allocations: 158.5 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.708e-05/0.3181, allocations: 154.6 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.3185, allocations: 0.5055 MB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.71e-05/0.3185, allocations: 165.1 kB / 1.06 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.564e-05/0.3186, allocations: 84.14 kB / 1.06 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.3186, allocations: 79.28 kB / 1.06 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.3187, allocations: 117.7 kB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.3187, allocations: 0 / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0002321/0.3189, allocations: 45.42 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.319, allocations: 130.7 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.3193, allocations: 318.4 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.3194, allocations: 33.64 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.3194, allocations: 116.4 kB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.3194, allocations: 0 / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.078e-05/0.3195, allocations: 69.67 kB / 1.061 GB, free: 72 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3197, allocations: 322.8 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.023e-05/0.3198, allocations: 67.89 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.3199, allocations: 125.9 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.3202, allocations: 201.9 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3202, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004202/0.3206, allocations: 241.1 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3206, allocations: 8.938 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3206, allocations: 224 / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3207, allocations: 8 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-06/0.3207, allocations: 0 / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3207, allocations: 4 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.3208, allocations: 27.59 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3208, allocations: 7.938 kB / 1.061 GB, free: 15.02 MB / 0.8262 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.000212/0.321, allocations: 233 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/0.3211, allocations: 124.6 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.3212, allocations: 113.8 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.358e-05/0.3213, allocations: 184.2 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.076e-05/0.3213, allocations: 180.4 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-05/0.3214, allocations: 184.2 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.3217, allocations: 449.2 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.363e-05/0.3217, allocations: 105 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.3218, allocations: 112.9 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.908e-05/0.3218, allocations: 180.2 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.707e-05/0.3219, allocations: 188.2 kB / 1.063 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.621e-05/0.322, allocations: 176.3 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.356e-05/0.3221, allocations: 184.3 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3223, allocations: 319.6 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.3225, allocations: 201.8 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.3227, allocations: 180.3 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3228, allocations: 105 kB / 1.065 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.3229, allocations: 184.2 kB / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.323, allocations: 101 kB / 1.065 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002108/0.3232, allocations: 221.8 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3232, allocations: 0 / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000409/0.3236, allocations: 64 kB / 1.065 GB, free: 11.09 MB / 0.8262 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.0003511/0.324, allocations: 270.4 kB / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.3241, allocations: 103.8 kB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3242, allocations: 0 / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.3242, allocations: 4 kB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.3246, allocations: 0.5289 MB / 1.066 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005665/0.3252, allocations: 448.7 kB / 1.066 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.3255, allocations: 0.7355 MB / 1.067 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.3255, allocations: 11.44 kB / 1.067 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of SimCode: time 1.713e-06/0.3255, allocations: 4 kB / 1.067 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of Templates: time 0.004434/0.33, allocations: 2.338 MB / 1.069 GB, free: 6.59 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches