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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001208/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001454/0.001454, allocations: 193.8 kB / 16.14 MB, free: 6.719 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.378/1.378, 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 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.47 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.307, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002513/0.3095, allocations: 1.454 MB / 1.054 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3117, allocations: 1.93 MB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.3117, allocations: 0 / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000923/0.3127, allocations: 365.2 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.417e-05/0.3127, allocations: 19.91 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.006e-06/0.3127, allocations: 0 / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.3129, allocations: 143.2 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.734e-05/0.313, allocations: 17.5 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.667e-05/0.3131, allocations: 39.81 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.3132, allocations: 63.77 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.3132, allocations: 11.88 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.3136, allocations: 175.9 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.3137, allocations: 27.89 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.687e-05/0.3137, allocations: 79.55 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004159/0.3142, allocations: 283.1 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3142, allocations: 0 / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.32e-07/0.3142, allocations: 0 / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3142, allocations: 0 / 1.057 GB, free: 4.223 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.00064/0.3148, allocations: 498.5 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.3149, allocations: 8.031 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.315, allocations: 107.9 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.3153, allocations: 279.4 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.3153, allocations: 150.9 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/0.3154, allocations: 154.9 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.631e-05/0.3155, allocations: 113 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.3155, allocations: 75.28 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.639e-05/0.3156, allocations: 158.5 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.516e-05/0.3157, allocations: 150.6 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.109e-05/0.3157, allocations: 154.6 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.3161, allocations: 0.5016 MB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.87e-05/0.3162, allocations: 173.1 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.3162, allocations: 84.12 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3162, allocations: 75.28 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.3163, allocations: 113.8 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.3163, allocations: 0 / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001586/0.3165, allocations: 49.42 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.3165, allocations: 130.7 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.3168, allocations: 318.3 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3169, allocations: 29.64 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.3169, allocations: 120.4 kB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.3169, allocations: 0 / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.317, allocations: 69.67 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3171, allocations: 330.8 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.154e-05/0.3172, allocations: 63.95 kB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.3174, allocations: 118 kB / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.3176, allocations: 205.8 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3176, allocations: 11.92 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00039/0.318, allocations: 233.2 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.318, allocations: 4 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.318, allocations: 4 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3181, allocations: 0 / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.735e-06/0.3181, allocations: 4 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.299e-06/0.3181, allocations: 0 / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.3182, allocations: 27.59 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3182, allocations: 8.219 kB / 1.061 GB, free: 15.51 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.000178/0.3184, allocations: 233 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.3185, allocations: 128.6 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.3185, allocations: 113.8 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.277e-05/0.3186, allocations: 184.3 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.949e-05/0.3187, allocations: 180.3 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001335/0.3188, allocations: 180.2 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.3191, allocations: 453.2 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/0.3191, allocations: 104.9 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.3192, allocations: 108.9 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.164e-05/0.3192, allocations: 176.3 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-05/0.3193, allocations: 192.2 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-05/0.3194, allocations: 180.3 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.514e-05/0.3194, allocations: 180.2 kB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.3196, allocations: 311.6 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/0.3197, allocations: 209.8 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/0.3198, allocations: 180.2 kB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3199, allocations: 108.9 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.32, allocations: 180.3 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.32, allocations: 101 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001839/0.3202, allocations: 217.8 kB / 1.064 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3202, allocations: 8 kB / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003361/0.3206, allocations: 60 kB / 1.065 GB, free: 11.58 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.0003086/0.3209, allocations: 274.7 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.321, allocations: 107.9 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3211, allocations: 0 / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.3211, allocations: 3.938 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.3215, allocations: 0.5238 MB / 1.065 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.322, allocations: 435.3 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.3223, allocations: 0.7394 MB / 1.067 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.388e-05/0.3223, allocations: 3.906 kB / 1.067 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.3223, allocations: 11.44 kB / 1.067 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3223, allocations: 0 / 1.067 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.005054/0.3274, allocations: 2.237 MB / 1.069 GB, free: 7.203 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/jenkins/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